These are chat archives for canjs/canjs

8th
Jan 2016
Mohamed Cherif Bouchelaghem
@cherifGsoul
Jan 08 2016 00:00
@dylanrtt I dont know if a custom behavior for can-connect could do it!!
Justin Meyer
@justinbmeyer
Jan 08 2016 04:13
@dylanrtt the same would work ... can.connect can make requests with jQuery
but yeah ... you might want to overwrite resource.getListData
or the similar methods
the reason is that you want your "set" passed to can-connect
often that set can include the current session / userId
so the set logic works
dylanrtt
@dylanrtt
Jan 08 2016 04:15
@justinbmeyer I'll give that a try. Thanks!
Justin Meyer
@justinbmeyer
Jan 08 2016 04:15
And yeah, you can also make your own behaviors pretty easy if you find yourself doing special stuff a lot of the time
Mohamed Cherif Bouchelaghem
@cherifGsoul
Jan 08 2016 12:28
@justinbmeyer I think a request-interceptor behavior might be part of can-connect