Is Ariadne Codegen library intended for use as part of ongoing development? #1038
steve-marmalade
started this conversation in
General
Replies: 2 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
This is not what Ariadne Codegen does. Instead it creates Python package implementing the GraphQL client for a given schema and GraphQL queries. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apologies if this question should have be asked in a different forum, but wondering about the intended use of this library. It looks primarily designed to bootstrap an entire backend server based on a GraphQL schema (which is neat). I wonder if you also intend for it to be used as a more modest utility that keeps a file (or files) of generated pydantic dataclasses/models in sync with the GraphQL schema.
So the workflow would be:
Perhaps the contract would be: each
*.graphql
file in the repo gets it's own*.py
companion with the relevant type definitions.Beta Was this translation helpful? Give feedback.
All reactions