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
Returned data in a dataset comes back as null but the relationship object is still being created.
Examples:
// when data exists, this works:"relationships": {"notes": {"data": [{"type": "notes","id": "01929cc3-37f9-7461-8661-a76256691082"}]}// when data is null, this is what is returned:
"relationships": {
"notes": {"data": null}}
The second one will fail validation and needs to be removed entirely if nothing in the relationship in order to pass.
Suggestions on how to do this with this library are welcome. I am currently just manually removing them with the following:
Returned data in a dataset comes back as
null
but the relationship object is still being created.Examples:
The second one will fail validation and needs to be removed entirely if nothing in the relationship in order to pass.
Suggestions on how to do this with this library are welcome. I am currently just manually removing them with the following:
The text was updated successfully, but these errors were encountered: