Partial Schema Resolution ☀️ #6572
Answered
by
dotansimha
mattcogent
asked this question in
Q&A
-
Hey there 👋 I'm working with a Federated Graph and schema is large. I am generating types for a React app using apollo. Is it possible to only generate GraphQL schema types based on my frontend documents? My goal is to reduce the size of the generated graphql file and only use what we need. Here is my codegen file 👇
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
dotansimha
Sep 6, 2021
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mattcogent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
onlyOperationTypes: true
to reduce the amount of generated output types.