These are chat archives for canjs/canjs

24th
Sep 2016
Nico R.
@nriesco
Sep 24 2016 00:27
when using can-connect is it possible to update an existing record? insted of using .save() maybe .update() or .patch() ? I have a feathersjs powered standard REST API waiting por PATCH but instead I get a POST resulting in duplicate key error (mongodb => _id)
Nico R.
@nriesco
Sep 24 2016 01:34
bad news: I could not replicate this error
good news: it is updating, still there is some trouble and some errors on the console but the database reflects the correct values
Eben
@eben-roux
Sep 24 2016 08:48
This message was deleted
Nico R.
@nriesco
Sep 24 2016 13:48
I’ve posted a question in stack overflow related to error handling while saving data to an API: http://stackoverflow.com/questions/39677050/how-to-handle-can-connect-errors-correcly-when-connecting-to-a-restful-api