You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently "only" outputs Rust structs with the correct #[derive(...)]s attached.
By prepending the contents of query.graphql to the output within a markdown code block, it becomes possible to document the generated code automatically.
$ cynic querygen --query query.graphql --schema schema.graphql
Currently "only" outputs Rust structs with the correct
#[derive(...)]
s attached.By prepending the contents of
query.graphql
to the output within a markdown code block, it becomes possible to document the generated code automatically.Example:
schema.graphql
:query.graphql
cynic querygen --query query.graphql --schema schema.graphql
cynic querygen --query query.graphql --schema schema.graphql --structdoc
cynic querygen --query query.graphql --schema schema.graphql --moddoc
The text was updated successfully, but these errors were encountered: