File Uploads - Variable '$file' of required type 'Upload!' was not provided
I am currently getting "Variable '$file' of required type 'Upload!' was not provided." when trying to upload a file via postman. I am including the file in the postman multipart request but am having trouble pinpointing where I have gone wrong. Details - posting like this guide…
set_alias does not work for me, what am I doing wrong?
I asked this question on StackOverflow https://stackoverflow.com/questions/65568044/how-to-define-aliases-with-ariadnes-set-alias So I don't get any error on query.set_alias but when I query for the alias "goodbye" it seems to resolve to "null" (so I guess the alias is not…
Subscriptions - need help or more documentaion
So, I'm trying to learn about GraphQL and I have queries and mutations working pretty well. But subscriptions is a harder concept to get. I'm starting simple, and has the counter example from the docs working. Now I want to create a subscription for a when a new user is created…
Dataloaders with Django - is it possible?
Hi there! First of all - I'm a huge fan of Ariadne ❤️. We use it in production along with Gunicorn and Django. The problem we are facing is that our frontend frequently has to request large lists of nested objects, so we've been forced to confront the N+1 problem. The way we've…
Performance with large list
I have a query that returns list of records. Sometime, the query result is very large, I have a query that returns 30K records in a list. I found that during that time, Ariadne took 11 seconds to process the list before return them to the client. During this time, the server is…
Subscription example with custom asgi server?
I'm trying to integrate ariadne into my Sanic project which is already python3.8 async. I was able to pretty easily integrate the standard query/mutate functionality with the async graphql call: However, I'm unsure what this would look like for subscriptions. With Sanic, I can…
Loading graphql files from multiple dirs.
type_defs = load_schema_from_path("/path/to/schema.graphql") Needs all schema in one file. type_defs = load_schema_from_path("/path/to/schema/") Needs all schemas in single dir. I Have multiple components (user, organization , teacher, class and I want to place graphql files to…
What are the key differences between Graphene and Ariadne?
This would be my first GraphQL implementation and I'm having trouble to understand what are the differences at the feature level and also at the implementation level. Is there anybody with experience in both that can explain why I would choose one over the other?