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
@dcantu96 I'm not sure if we're translating camelCase names to kebab-case names automatically anymore since we've run into several issues with that and it's hard to make it consistently perform as expected across all JSON:API implementations. Are you able to do something like:
Im trying to do this
It returns a bad request because homeTeam is serialized to "homeTeam" not "home-team" like it should be.
I tried this with postman and it worked as expected.
{ "data": { "id": 1, "type": "matches", "attributes": { "date": "2019-08-12T11:40:57.747-09:00" }, "relationships": { "home-team": { "data": { "type": "teams", "id": 5 } } } } }
What am I doing wrong?
Thanks ❤️
The text was updated successfully, but these errors were encountered: