-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cannot get resources without attributes (only with relations) #25
Comments
I have this problem as well. |
WilliamMcCumstie
added a commit
to openflighthpc/flight-action-api
that referenced
this issue
Jan 27, 2020
This is actually to resolve a client side bug. Ideally the library will be fixed, but we can't have everything :/ qvantel/jsonapi-client#25
ajjn
pushed a commit
that referenced
this issue
Feb 7, 2020
Fixed so closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Client fails to process response without
"attributes"
field. Here's the trace:It seems that client assumes
"attributes"
field always exists in a server response JSON. But in according with JSONAPI spec"attributes"
field is optional and, depending on inplementation, may be omitted by server for resources that don't contain any attributes.The text was updated successfully, but these errors were encountered: