Skip to content

Multiple Queries share same data types #1074

Discussion options

You must be logged in to vote

Hello 👋
Unfortunately currently it is not possible to share any output types. With the latest changes (4.0.0-alpha.15) our generator was updated to allow sharing input objects, enums and custom scalars as they will always be the same across ALL operations. Output object types, interfaces and unions are always regenerated for each specified query/mutation as they can vary in their selection sets.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by smyrick
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants