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
The following request causes Kurier to fail:
// PATCH /comments/2/relationships/parentComment HTTP/1.1 // Content-Type: application/vnd.api+json // Accept: application/vnd.api+json { "data": null }
Due to data being null. The update method expects data.attributes to be defined.
data
null
update
data.attributes
Also, the op contains no data referencing the parent relationship:
op
{ op: 'update', params: {}, ref: { type: 'comment', id: 3 }, data: null }
PATCH should be able to replace or delete the relationship.
PATCH
The text was updated successfully, but these errors were encountered:
joelalejandro
No branches or pull requests
The following request causes Kurier to fail:
Due to
data
beingnull
. Theupdate
method expectsdata.attributes
to be defined.Also, the
op
contains no data referencing the parent relationship:PATCH
should be able to replace or delete the relationship.The text was updated successfully, but these errors were encountered: