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
Let's say for example that I have user and posts resources and a one to many relationship is defined between user and posts. Sending this payload (which is perfectly valid according to the spec) results in a validation error (which shouldn't happen).
Due to https://github.com/undabot/json-api-symfony/blob/v2.2.2/src/Service/Resource/Validation/ResourceValidator.php#L91 I have to send all defined relationships when creating a resource.
Let's say for example that I have user and posts resources and a one to many relationship is defined between user and posts. Sending this payload (which is perfectly valid according to the spec) results in a validation error (which shouldn't happen).
So I have to send this instead:
The text was updated successfully, but these errors were encountered: