menu

Ariadne GraphQL

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

Channels
Team
Posts
Members
Info

Ariadne Tracing with Datadog

Has anyone gotten the Opentracing extension to work with Datadog? I'm using FastAPI as the server framework. I have the following setup but when I check the Datadog UI there aren't any traces: Any help is greatly appreciated!!

thumbsup
0
message-simple
0

Getting 'Cannot return null for non-nullable field' though value is present

I am getting and error about returning null for the success field but it is included in my return payload. return payload looks like this schema …

thumbsup
0
message-simple
5

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…

thumbsup
0
message-simple
7

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…

thumbsup
0
message-simple
4

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…

thumbsup
0
message-simple
2

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…

thumbsup
2
message-simple
2

Project Active?

Is the Ariadne project still being (actively) maintained? Looking at the Github repo, it seems like the build has been failing for a while (not a great indicator to new users) and there are various maintenance PRs piling up.

thumbsup
0
message-simple
6

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…

thumbsup
0
message-simple
4

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…

thumbsup
0
message-simple
2

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?

thumbsup
0
message-simple
2