menu

Ariadne GraphQL

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

Channels
Team
Posts
Members
Info

Set Cookie in response for implementing secure JWT Auth - Please Help

Hello, I am having a hard time figuring out the best way to implement JWT Auth with Ariadne. I am using a wsgi server. All I wanted to know is how can I set a cookie in response that can be read later in further request to obtain the refresh token. I know there are many…

thumbsup
1
message-simple
1

How to return extensions field

Newbie question here. I've recently tried returning the execution time of a GraphQL query by using the example extension available in the Ariadne docs. I created an extension like so: And then imported it like so: After starting the app, the GraphQL Playground boots up fine, and…

thumbsup
0
message-simple
0

Access query fragment or requested fields in resolver

Hello, First of all, thanks for the great software. I'm thinking about implementing caching in resolver, and wonder how I can get query fragment or fields requested for resolver, then use as a cache key. For example, user resolver could cache responses depending which fields…

thumbsup
0
message-simple
0

How to implement in AWS Lambda?

I'm looking to implement an API endpoint with AWS Lambda and API Gateway, and want to avoid starting a web framework inside of the lambda to keep cold start times down. If anyone could point me in the right direction or a similar project repo I'd appreciate it.

thumbsup
0
message-simple
0

decorator implemented by the resolver map

I found a library https://github.com/syfun/python-gql Looks more concise, …

thumbsup
0
message-simple
5

subscription pubsub

I am learning to use the ariadne library to implement pubsub, but the example in the subscription part is too simple, T T,…I found a library that may be useful, https://github.com/syfun/gql-subscriptions but I still won't implement pubsub in ariadne.

thumbsup
0
message-simple
3

Does Ariadne support interfaces implementing interfaces?

Spec change here: https://github.com/graphql/graphql-spec/pull/373 The spec change was back in January, but at a quick glance, Ariadne's tests don't seem to cover it. Does it already support it or should I create an issue?

thumbsup
0
message-simple
1

Heads up to the schemattic.io devs (I assume they're on here)

I'm getting an internal server error when trying to login (first time) with GitHub.

thumbsup
0
message-simple
2

Question regarding resolver returns.

I'm thinking about using Ariadne for a project, I just had a question about what exactly resolvers can return. Can resolvers return other objects which then run their ow resolvers? I can't see why ObjectType resolvers exist otherwise but I can't find any example of resolvers…

thumbsup
0
message-simple
1

Big payload handling by Ariadne

Can anybody illuminate me with what happens if you have a big scalar (megabytes and up) in the response? Does it need to be entirely in memory before the format validation occurs prior to sending the response? Are there any tricks that will let you ship a large response to the…

thumbsup
0
message-simple
4