ariadne
ariadne copied to clipboard
Python library for implementing GraphQL servers using schema-first approach.
In asgi.py I can see the call to aclose(); await subscriptions[operation_id].aclose() So how do I catch this in my subscription source? This should generate a GeneratorExit exception. I can not...
Since Apollo Federation 2 is now released and introduced a few new directives and some optional fields, is there any current efforts in the project to support those? What is...
The default behavior of only tracing custom resolvers is great 95% of the time, however there is a case for not to trace certain custom resolvers as well. We have...
Currently Ariadne implements `subscription-transport-ws` protocol which Apollo has deprecated and replaced with [graphql-ws](https://github.com/enisdenjo/graphql-ws). We should either update `ariadne.asgi.GraphQL` to graphql-ws or refactor it to make WebSocket support handled via strategy...
That way you can write something like: ```python async def get_context_for_request( self, request: Any, *, data: Dict[str, Any] = None ) -> Any: if callable(self.context_value): context = self.context_value(request) if isawaitable(context):...
Currently Ariadne uses `parse` function from `graphql-core` package, but we could make it possible to replace this function with custom query parser that caches queries.
I believe that apollotracing extension we have is not using the correct specs. It seems the tracing should be base64 encoded on protobuf and then put as value to the...
Calls to request_started and request_finished in ExtensionManager should be made with await.. I can implement this if there is no objection..
Apollo federation uses the following introspection query when glueing together subgraphs: https://github.com/apollographql/rover/blob/83d99ad2c707a5da4e3d48593af7b22a51d6d07d/crates/rover-client/src/operations/subgraph/introspect/introspect_query.graphql#L1-L6 ```gql query SubgraphIntrospectQuery { # eslint-disable-next-line _service { sdl } } ``` In our subgraph, we define a...
Apollo [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws) package adds client and server support for running GraphQL queries and mutations over web socket. In #288 support for the client package has been introduced to the Ariadne,...