Skip to content

RESTAPIHandler should return all ids as strings #1908

Closed
@thomassnielsen

Description

@thomassnielsen

Description and expected behavior
The RESTAPIHandler returns ids as whatever the type is in the db. But json:api requires ids to be strings. The OpenAPI plugin correctly requires ids to be strings, creating a mismatch between the docs and the implementation.

Environment:

  • ZenStack version: 2.9.4
  • Prisma version: 5.22.0
  • Database type: Postgresql

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions