Closed Pixhart closed 7 years ago
Yes, I will address that ref: http://jsonapi.org/format/#crud
Are you sure you have the latest build ? It should behave correctly, it was handled by #11
Check the unit test here: https://github.com/Wikodit/js-data-jsonapi-light/blob/develop/test/unit/crud/create.spec.ts#L45-L68
After investigation, nothing is wrong, it's more likely due to the use with an API that doesn't support UPDATE, it will be fixed by #9
This should be the way you specify object's parameters. It's not working and return an error :
Right now, it's working if we add data, data.type, and data.attributes :