Replies: 1 comment
-
How would you like it to generate the query? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to create a "generic" client for GraphQL API, not based on any specific "gql" queries. Is there a way to generate C# Operations based on the queries in the Query and Mutation types in the schema.grqphql?
i.e. something like this in the
codegen.yml
:Where
schema.graphql
looks in part something like this:My
Types.cs
is as expected.Operations.cs
is blank because it expects to find documents withgql
tags. So my questions is is there a way for the generator to create aGetCompanies
based on theQuery
type in theschema.graphql
?Beta Was this translation helpful? Give feedback.
All reactions