menu

Ariadne GraphQL

Ariadne is a Python library for implementing GraphQL servers using schema-first approach.

Channels
Team
Posts
Members
Info

disabling graphql playground

is there any way yo disable graphql playground just like in apollo by setting false value and if it is possible then how we will provide body of mutation type.

thumbsup
0
message-simple
2

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…

thumbsup
0
message-simple
5

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…

thumbsup
1
message-simple
4

Favorite python gql client?

Been evaluating Ariadne for personal use. Love the schema-first design! Wanted to ask a question to the experts here: What are the "best practices", if any, with respect to graphql clients? …

thumbsup
2
message-simple
1

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…

thumbsup
0
message-simple
1

"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…

thumbsup
0
message-simple
10

how to write test for ariadne graphql.

Is there any tutorial or blog post about testing ariadne with Django? How to write unit/integration test for ariadne graphql ?

thumbsup
0
message-simple
1

Unsubscribed subscriber

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…

thumbsup
0
message-simple
2

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…

thumbsup
0
message-simple
3
·28d·Watercooler# General

Ariadne GraphQL watercooler

thumbsup
0
message-simple
20