Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserializer [relationships] without [included] field wont work #253

Open
dreamer2q opened this issue May 30, 2021 · 1 comment
Open

Deserializer [relationships] without [included] field wont work #253

dreamer2q opened this issue May 30, 2021 · 1 comment

Comments

@dreamer2q
Copy link

image

See the jsonapi documentations above, I want to create a resource with relationships.

image

This should be deserialized into

{
        "content": "intro",
         "user": {
              "id": "5"
         }
 }

Actually, the user field is missing.

But if I add included field, this works fine.

@dreamer2q
Copy link
Author

image
The user field is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant