graphene icon indicating copy to clipboard operation
graphene copied to clipboard

GraphQL framework for Python

Results 189 graphene issues
Sort by recently updated
recently updated
newest added

Fixed type of Schema(query) to correct one `Type[ObjectType]`

Making shallow copies of GrapheneObjectType using copy.copy raises `KeyError: 'graphene_type'` ```python import graphene import copy class Query(graphene.ObjectType): users = graphene.List(graphene.String) def resolve_users(self, info): return [] schema = graphene.Schema(query=Query) copy.copy(schema.graphql_schema.query_type) #...

🐛 bug

* **What is the current behavior?** Now, the query description only use the `description=...` args for docs, the description or the __doc__ in Typeclass only use for Type docs. but...

🐛 bug

I want to avoid repeating code fragments between the mutations and types with graphene in a FastAPI app. Not a very polished example but please see below sample scenario. **graphql\mutations.py**...

✨ enhancement

if the enum contains member called "descrpition" or "deprecation_reason", graphql schema-bullding validations die with error like : TypeError: The description of the enum value must be a string Happens on...

🐛 bug

Hi Team, My name is Giang, I would like to propose a new feature for caching results on certain selected nodes with class Meta: cache = True. I would to...

✨ enhancement

I would like to contribute a solution to the circular import problem. As far as I can see, currently this problem has some workaround through the `Dynamic` type: https://github.com/graphql-python/graphene/issues/522#issuecomment-626075061 From...

✨ enhancement

When creating a schema, if there is a problem with one of your QueryObjects, the resulting error message and traceback does not give any indication as to which ObjectType class...

✨ enhancement

Hi, I want to mark some fields as "deprecation_reason" in my filter fields. example: TestQuery{ filter:TestFilter } TestFilter{ id: IntFilter, name: StringFilter } StringFilter = type("String", graphene.InputobjectType, {key:value}) How can...

🐛 bug

How do you use this with a non model serializer?

✨ enhancement