MichalLytek / MichalLytek/typegraphql-prisma
Relay-compliant GraphQL schema
- Dominant language
- TypeScript
- Stars
- 918
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
I'm thinking about migrating from Prisma 1 to Prisma 2 + TypeGraphQL, but just found that generated GraphQL schema (see e.g. [generated-schema.graphql](https://github.com/MichalLytek/typegraphql-prisma/blob/main/examples/1-basic/generated-schema.graphql)) is not [Relay-compliant](https://relay.dev/graphql/objectidentification.htm), e.g. there is no the interface called `Node`.
Is it comes from Prisma 2 or TypeGraphQL? Is it fixable?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked examples/1-basic/generated-schema.graphql and compare its generated types with the Relay object identification requirements. Trace whether the missing Node interface and related fields originate in Prisma 2 or TypeGraphQL, then define the schema changes and validation needed for Relay compliance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100