Documentation for Rate Limiting in Ariadne?
I see from this PR https://github.com/mirumee/ariadne/pull/185 that query cost validator was merged into master and available for 0.12? Since I don't think 0.12 is released, has anyone tried to document its use or test it? It's become important we implement this on our API,…
How to use background tasks with Starlette?
I'm hoping to avoid any use of Celery at the moment. In Starlette's docs they give two ways to add background tasks: 1. Via Graphene: https://www.starlette.io/graphql/ 2. Via a JSON response https://www.starlette.io/background/ …
Return Cookie in Response Headers Based on Response Content
For security reasons, I want to return a cookie if the login mutation is successful. I know ariadne doesn't handle cookie generation, but I was wondering if anyone has done this before or has an idea about how to do it. Thanks!
Issue with following the Demmy Web App: Registering fields to the query...
...Is giving me issues We can see in this file: https://gitlab.com/heathercreech/demmy/-/blob/version-2/server/demmy_webapp/gql/types/query/get_career.py The only time this function resolve\_get\_career() is there, and the @query.field('getCareer') works to register the function…
How do I resolve GraphQL with sub-field filters?
I am new to ariadne and probably doing this wrong, but I am trying to create a schema that allows me to perform a GraphQL query using subfields: So this should give me messages for AIS dataType and Static broadcastType. My query must look like the above (can't change…
Does GraphQLError Terminate a Query?
I'm writing some mutations that perform bulk operations, and am in the process of testing cases where users might provide a mix of good and bad input data. Ideally, in this case I'd like to return a GraphQLError for each failure, but resolve and return the successful mutations.…
Input fields validation using directives
I want to validate input fields using directives but I wasn't able to do it with plain ariadne. The https://ariadnegraphql.org/docs/next/api-reference#visit_input_field_definition function is called only when I start my server and not on every call to a resolver of a…