ariadne-codegen
ariadne-codegen copied to clipboard
Generate fully typed Python client for any GraphQL API from schema, queries and mutations
The fact that this library requires pre-defining the queries that will be exposed through the Client class seems incredibly limiting. The power of GraphQL is its flexibility -- by default,...
I am using the codegen to create a python client, in my schema I have subscriptions, query and mutations. The subscriptions should be Async but at the same time need...
Writing deprecation warning to stdout, if a field used in a query is having a deprecation_reason.
Hasura sometimes sends ping before connection_ack https://wundergraph.com/blog/quirks_of_graphql_subscriptions_sse_websockets_hasura_apollo_federation_supergraph
When I try to connect to a Hasura server with websockets I get the error message "Exception has occurred: GraphQLClientInvalidMessageFormat". The reason fo that is that Hasura sends a "ping"...
Generating a client against the following valid query (Note: I am running this against Hasura): ```gql mutation addPerson { insert_person_one(object: { username: "Foo's bar" }) { id } } ```...
## Feature Request Are there any plans (or existing plugins) to add support for server-side codegen? E.g. generating a schema (through `make_executable_schema`) with: * ariadne 0.19-style InputTypes and EnumTypes (including...
So, the GraphQL spec apparently includes an optional section in responses called `"extensions"`. [https://spec.graphql.org/October2021/#sec-Response-Format](https://spec.graphql.org/October2021/#sec-Response-Format) So some implementations may return important data outside the `{"data": ...}` field in a response. Specifically,...
With config like: ```toml [tool.ariadne-codegen] # ... convert_to_snake_case = false plugins = ["ariadne_codegen.contrib.shorter_results.ShorterResultsPlugin"] async_client = false ``` And a mutation like: ```graphql mutation createGroup($group: CreateGroupInput!) { createGroup(group: $group) { ...GroupFragment...
Hey there! I am testing out ariadne-codegen against a [TypeGraphQL](https://typegraphql.com/)-generated API and am seeing issues at runtime that look pretty similar to #100. ``` Traceback (most recent call last): File...