Hacker News new | ask | show | jobs
by captbaritone 828 days ago
This approach works fine for simple projects, but you also need to provide an implementation, and the two need to line up. This is what leads people to want solutions that either generate implementation types from the .graphql schema or (as Grats does) generate the .graphql schema from the implementation.
1 comments

You just point graphql-codegen[0] at your GraphQL.

0 - https://the-guild.dev/graphql/codegen