graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

Option to deduplicate schema data

Open lights0123 opened this issue 4 years ago • 0 comments

Each query will cause this crate to re-generate the code for the entire schema. This results in increased compile time and not being able to share structs between different queries. There should be a way to generate the entire schema once (using both the derive macro and the CLI), and then just reference it by path.

lights0123 avatar Oct 11 '21 23:10 lights0123