graphene icon indicating copy to clipboard operation
graphene copied to clipboard

GraphQL framework for Python

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

I'm using Graphene with Django, and I have a middleware that checks user auth token. I'm having an issue with the middleware being executed at the field-level. Each field resolution...

wontfix

We should upgrade graphene to use modern type hints. In that process, type hints should be removed from the class/method documentation to have the code as the single source of...

✨ enhancement
🙋 help wanted
📖 documentation

I did not figure out how I could have the `get_node` classmethod of an `ObectType` be async. It would be nice if it was because otherwise it can not take...

The GraphQL spec finally allows using the `@deprecated` directive on field args, directive args and input fields (see graphql/graphql-spec#805) It would be nice to support this in Graphene using the...

✨ enhancement
🙋 help wanted
feature

Creating this issue to open up an associated PR. Will include default error handling. More to come here shortly.

✨ enhancement

KeyError: 0 arises when I try to iterate over graphene Enums. The same code with PyEnums works fine: ``` from graphene import Enum class Class(Enum): FIRST = "first" SECOND =...

🐛 bug

Looking at the `node.py` implementation: ```py class NodeField(Field): def __init__(self, node, type=False, deprecation_reason=None, name=None, **kwargs): assert issubclass(node, Node), "NodeField can only operate in Nodes" self.node_type = node self.field_type = type...

🐛 bug

The [Root Value](https://docs.graphene-python.org/en/latest/execution/execute/#root-value) example in the documentation: ``` from graphene import ObjectType, Field, Schema class Query(ObjectType): me = Field(User) def resolve_user(root, info): return {'id': root.id, 'firstName': root.name} schema = Schema(Query)...

🐛 bug

**Is your feature request related to a problem? Please describe.** I am trying to learn how to use Graphene with my existing DataModels. The problem I've come across is my...

✨ enhancement