Generate client-side types for operations without clutter #4458
-
First of all: excellent library! When generating types for operations only, it would be useful to be able to resrict the types generated only to those referenced by the given operations. If I enable This would allow for incredibly clean/tidy types for client-side usage. Additionally, it would be nice when generating types for a client-side project, to retrict generation only to operations defined/used client-side (ie specified via generates:documents). The goal is to be able to write canned queries in .graphql files for a client-side project and then only generate types for those without filling the types file with unused types. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @eurostar-fennec-cooper! Thanks for submitting an issue. We're currently tracking this feature request here. |
Beta Was this translation helpful? Give feedback.
Hi @eurostar-fennec-cooper! Thanks for submitting an issue.
We're currently tracking this feature request here.