graphene
graphene copied to clipboard
GraphQL framework for Python
Contrarily to what's described [here](https://docs.graphene-python.org/en/latest/types/objecttypes/#graphql-argument-defaults): it looks like all the arguments with unset values are passed to the resolvers in graphene-3: This is the query i am defining ``` class...
Bear with me please Let's assume I have a type called `Product` in schema1 and a type with the same name in schema2 and I want to expose __both__ schemas...
Hey :). Don't know where else to post this so... Found 2 mistakes in this tutorial: https://docs.graphene-python.org/projects/django/en/latest/tutorial-plain/ Where it says: "Now sync your database for the first time:" There is...
Adds a decorator for handling situations when a query expects different arguments, but can only work with one. For instance: A query named `userByAttr` can retrieve a user by their...
Add default implementation of Mutation.mutate() that raises NotImplementedError. This makes code more clear and also improves work of auto-completion tools (e. g. in IDE). They usually guess if user is...
This fix aligns to some changes in GraphQL-core 3.2 which reflect changes in GraphQL.js 16: - type resolvers must return only names - doesn't print trailing newlines any more -...
When I first read through the documentation twice, it took me two tries and looking very hard to find out the difference b/w the two. The background highlight using backticks...
The link to ariadne documentation is out of date--updating it to reflect the new site
docs: add get_human function solves #1290.
Seems the comment uses the [MAX_SAFE_INTEGER](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER#description) which should be 2^53 - 1 instead of 2^32 - 1. https://github.com/graphql/graphql-spec/issues/73 This might be platform dependent so switching to use `sys.maxsize` might be...