Skip to content
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

Only accept string value for resource IDs in request body #999

Closed
bart-degreed opened this issue May 18, 2021 · 0 comments · Fixed by #1075
Closed

Only accept string value for resource IDs in request body #999

bart-degreed opened this issue May 18, 2021 · 0 comments · Fixed by #1075

Comments

@bart-degreed
Copy link
Contributor

We currently allow non-string values, which violates the json:api spec.

Example:

PATCH /articles/1 HTTP/1.1

{
  "data": {
    "type": "articles",
    "id": 1,
    "attributes": {
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant