How can I pass custom objects to resolvers ?
Below a code running on the Google Cloud Platform Functions. I would like to pass to the resolvers some custom objects like dbconnections. In the example below I would like to pass the context_app to the resolvers. How can I do that ? I tried some ways using graphql_sync() but…
runing ariadne uvicorn for subscription and maintain flask Route
I'm try to implement ariadne in a flask project (with subscription) i run the exemple code with uvicorn and work great but i notice that you cant use flask @app.route if you run the app with uvicorn is there any way i can maintain the route in flask and use Subscription Too in…
How to use Interface correctly?
I'm trying to implement relay support in my project which I'm creating for education. The problem is I don't understand how to tell my model ObjectType that it implements certain interface. I have found no information in the documentation how to connect object type and…
"Requested setting TEMPLATES, but settings are not configured." when using with…
Hi, I am wrapping my existing apis by ariadne graphql . but when i am using Get api of ariadne/contrib/django/views.py to call existing rest end point, getting below error even i have all configuration in setting.py file. "message": "Requested setting TEMPLATES, but settings are…
having hard time understanding how relational types are resolved
this is the code to reffer -> https://github.com/zero-shubham/ariadne_graphql_prac Hi! newbie here. I'm having a hard time understanding how relationship between objects are resolved without writing and resolvers for them. This is what i'm trying but this function is never…
Is there any best practice on how to deal with subscriptions where clients 'unsubscribe'? My graphql server publishes details about background tasks being started and finished, and I create an async.Queue object for every new subscriber, I queue up new events for each of them…