hasura / hasura/graphql-engine

Map UUID keys as GraphQL "ID" type

Open
#3,578 29 comments 44 reactions 1 assignee Claimed by @0x777 View on GitHub
c/v3-ndc-postgres k/v3-alpha v3
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Currently, Hasura creates a new scalar type called `uuid` for UUID keys. Because it's a non-standard type, using it with clients usually means jumping through some hoops to treat the value as a string. But, that's really all the standard `ID` type does anyway, as far as I know. I think if this type were remapped in the schema, it'd improve the ergonomics of working with a Hasura-based GraphQL server.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.