Implementing efficient resolvers for "complex" structures
Hi! My service is backed by a Postgresql database. I have a top level query for some Entity. The entity has a field, which would require an additional query to the database. Obviously I want to execute this work only, if the field is queried for and my first question is: How do…
how to implement jwt authentication in ariadne as a middleware
Hihi, I would like to use jwt authentication in ariadne as a middleware and use schema directives per query field to check if a user has access to this specific query field. I could use context_value but is there another solution? Any help really appreciated!
Hello everyone! To be honest, my primary reason to move from Graphene to Ariadne was subscription support. The example from the documentation works fine, but I'm looking for more robust solution that doesn't involve infinite loop with sleep and constant checking for some…
implementing subscription for multiple worker
Hi, i am trying to implement subscription for multiple workers, if requesting one subscription two times then after some times first socket is ditched automatically. not sure how to implement multiple worker at same time. any idea ,please prodive any suggestion. Thanks
How does authorization work with subscriptions/websockets?
On the client-side, apollo-link-ws seems to put authorization information, such as bearer tokens, into the first WS message. On ariadne side, currently it seems additional properties of the GQL_CONNECTION_INIT message are not saved or made available to the user-supplied side. As…
Implementing subscriptions on AWS serverless
Hi, I am playing with my first GraphQL server and deploying it on AWS Lambda. This works great for queries and mutations, but obviously will not work for subscriptions since we need a long-running connection over a websocket. So, my thought is to manage the websocket connection…
Does ariadne support typing rules for resolvers?
I've been comparing GraphQL frameworks, and I have two big desires: static typing and schema-first development styles. Ariadne is the obvious solution for schema-first development, but it doesn't appear to support static typing (mypy) of resolvers. Am I missing something or are…