Skip to content

How to query the same object from different queries and make them same type? #1039

Answered by dariuszkuc
pjwalstrom asked this question in Q&A
Discussion options

You must be logged in to vote

Currently there is no way to force the client generator to re-use the classes. As output classes can have different selection sets we followed the simple rule of always recreating them.

I think we probably could update the logic to re-use common output types and input types (as input types will ALWAYS be the same across the queries).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pjwalstrom
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