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

**Note: for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports. * **What is the current behavior?** We have types: ``` ChildType(graphene.ObjectType): enabled...

🐛 bug

I have a list returning from query like this `[ { "name": "name1", "color":"red"}, { "name": "name2", "color": "green"} ]` but I want it to return like JSON e.g. `...

✨ enhancement

is there any way to pass a model as meta class to InputObjectType class? like this: ``` class GasUnitInput(graphene.InputObjectType): class Meta: model = GasUnit ```

✨ enhancement

**Is your feature request related to a problem? Please describe.** Yes, I am writing tests for my graphene app. I need to test whether certain queries produce errors. When `client.execute(...)`is...

✨ enhancement

Is there a great reason why `graphene.utils.subclass_with_meta.SubclassWithMeta.__init_subclass__`, doesn't call `super().__init_subclass__()`? https://github.com/graphql-python/graphene/blob/master/graphene/utils/subclass_with_meta.py#L21-#L46 The issue with this is IMO the following: - Class `Foo` has defined a custom `__init_subclass__`. - Class `Bar`...

✨ enhancement

I have a custom input object type ``` class Filters(graphene.InputObjectType): name = graphene.String() type = graphene.List(graphene.String) ``` and the query definition ``` class Query(graphene.ObjectType): search = graphene.Field( SearchResult, query=graphene.String(required=True), filters=graphene.Argument(Filters,...

✨ enhancement
good first issue

**Note:` for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports. * **What is the current behavior?** the following implementation of `to_global_id` fails...

🐛 bug

This PR bumps upload-artifact and codecov actions, thus fix deprecation warnings.

This PR bumps mypy, and fixes below error. ```python graphene/utils/deprecated.py:30: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}"...