-
Notifications
You must be signed in to change notification settings - Fork 74
Is it possible to push to an array without reading it first? #33
Comments
Hey @grochadc, Great question, and as of today, we do not support adding/removing of items from collection via the API, so right now the only way you can achieve that is the method you suggested. However, we're planning on supporting this feature in the near future. |
Implementing HTTP PATCH with JSON Patch should solve this problem. |
Thanks for the reply @bluzi |
@akshendra Yup, definitely reconsidering it now. |
@bluzi a big hurdle, as far as I have found, is that |
We can do it in the server, and save half the way. :) |
This would be cool! |
Hi, there is any update about this feature? Will be awesome. Regards |
I have a store where I have a list of songs:
"tracks": ['track1', 'track2']
Is it possible to push
track3
to the array?Or should I
GET
the tracks first, push to my local array and thenPUT
the result?The text was updated successfully, but these errors were encountered: