You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that ngx-jsonapi is adding the id also to the url if it is present in the data. The url
should be http://SERVER/api/atype instead of http://SERVER/api/atype/my-own-id.
The bug is only the URL modification? Or you detect another bug?
My bad - I had actually detected the URL issue, too, but forgot to mention it in the bug description. It looks like that is the actual bug. Otherwise, the function is behaving as expected.
The request body with an ID should look like this:
{ "data": { "id": "my-own-id", "type": "atype", "attributes": { "foo": "bar" } } }
The text was updated successfully, but these errors were encountered: