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
A populated relation might look like this when serialized:
"myRelation": [1, 5, 6]
If that relation contains no children, the "myRelation" key is entirely missing from the serialized data, but it should be:
"myRelation": []
Might be easily fixed by removing the check on RESTfulAPI_BasicSerializer.php:L209?
The text was updated successfully, but these errors were encountered:
Addressing Issue colymba#50.
0ab334f
Relations with no records should still show up in the serialized data, just as an empty array. Added tests to check serialization behavior.
A PR for this is up. #54
Sorry, something went wrong.
No branches or pull requests
A populated relation might look like this when serialized:
If that relation contains no children, the "myRelation" key is entirely missing from the serialized data, but it should be:
Might be easily fixed by removing the check on RESTfulAPI_BasicSerializer.php:L209?
The text was updated successfully, but these errors were encountered: