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
extractAttributes deletes keys from the payload object. This means when calling extractId, the developer can only read the updated object.
extractAttributes
extractId
The call order could be changed to allow extractId to use the full incoming object. Datas json-api serializer does it like this:
id: this.extractId(modelClass, resourceHash), type: this._extractType(modelClass, resourceHash), attributes: this.extractAttributes(modelClass, resourceHash), relationships: this.extractRelationships(modelClass, resourceHash)
The text was updated successfully, but these errors were encountered:
Fix extractId called after extractAttributes (201-created#47)
259e396
20a5d81
(cherry picked from commit 259e396)
No branches or pull requests
extractAttributes
deletes keys from the payload object.This means when calling
extractId
, the developer can only read the updated object.The call order could be changed to allow extractId to use the full incoming object.
Datas json-api serializer does it like this:
The text was updated successfully, but these errors were encountered: