graphql-react-typescript-spacex
graphql-react-typescript-spacex copied to clipboard
Example using `apollo codegen` to use dynamic fragments
You don't have to merge this or anything. I saw your Medium post, I just thought I'd show that you can do dynamically typechecked fragments based on your GraphQL-queries.
This way, the typecheck will fail if you try to use a property we omitted in the actual fragment in the GraphQL-query.
Just not sure if you're aware or not :)