Skip to content

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

Closed
@bart-degreed

Description

@bart-degreed

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": {
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions