ariadne
ariadne copied to clipboard
Python library for implementing GraphQL servers using schema-first approach.
A global option for the `convert_kwargs_to_snake_case` decorator would be nice to have. This is especially useful if this is the desired behavior for all resolvers
# TODO - [ ] Verify docs are up to date - [ ] Verify changelog is up to date - [ ] Write release announcement
GraphQL Playground has been retired, and will no longer receive updates: https://github.com/graphql/graphql-playground/issues/1143 Down the line, I think it would make sense for Ariadne to switch to GraphiQL because of this.
Superseds #884
I'm using Ariadne to allow generic query on top of our flat database through SQL statements. As some of the tables could have up to 500 fields, for performance purposes,...
The following code raises the above error. ```python def auth_middleware(resolver, obj, info, **kwargs): value = resolver(obj, info, **kwargs) return value @graphql_api.route('/graphql', methods=["POST"]) def graphql_server(): success, result = graphql_sync( schema, request.json,...
https://opentracing.io/ now carries a banner announcing that it's been supplanted by OpenTelemetry Are you interested in a PR that adds OpenTelemetry based tracing?
Given the following spec: ``` directive @date on INPUT_FIELD_DEFINITION input MetricParams { expiresAt String! @date } type Query { metrics(params: MetricParams!): Boolean } ``` the following directive implementation ```python class...
An example of standard Apollo directive that uses `repeatable` is `@tag`, which has the following definition (in Federation v1): ``` directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT...
⚠️ Work in progress! TODO: * [x] Turn WSGI middleware into a generator * [x] Support query batching * [ ] Add tests