We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to return a resource identifier object of an entity and to do so I tried to whitelist the 'id' only or to serialize data where data = { id }.
I always end up with the attributes object being empty attributes: {}
attributes: {}
Shouldn't there be an option to deactivate attributes or any way to represent the resource identifier only?
The text was updated successfully, but these errors were encountered:
I think what is needed is a flag... something like onlyResourceIdentifiers... I will try to create a pull request asap.
onlyResourceIdentifiers
Sorry, something went wrong.
@dimisus, You are right, there is no reason to keep empty attributes property. I will add a check for empty attributes property.
attributes
Okay, cool. Thank you.
1bff535
Fixed in v1.14.1
No branches or pull requests
I try to return a resource identifier object of an entity and to do so I tried to whitelist the 'id' only or to serialize data where data = { id }.
I always end up with the attributes object being empty
attributes: {}
Shouldn't there be an option to deactivate attributes or any way to represent the resource identifier only?
The text was updated successfully, but these errors were encountered: