Skip to content

Commit cff6ec1

Browse files
Fixed minor bug with nested_fields for mutations.
Updated dependencies to avoid errors with CharField with choices and blank=True reported for graphql-core.
1 parent bec650f commit cff6ec1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

graphene_django_extras/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .paginations import LimitOffsetGraphqlPagination, PageGraphqlPagination, CursorGraphqlPagination
1010
from .types import DjangoObjectType, DjangoInputObjectType, DjangoListObjectType, DjangoSerializerType
1111

12-
VERSION = (0, 3, 8, 'alpha', '10')
12+
VERSION = (0, 3, 8, 'alpha', '11')
1313

1414
__version__ = get_version(VERSION)
1515

graphene_django_extras/mutation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init_subclass_with_meta__(cls, serializer_class=None, only_fields=(), excl
9292
input_type = registry.get_type_for_model(model, for_input=operation)
9393

9494
if not input_type:
95-
factory_kwargs.update({'skip_registry': True})
95+
# factory_kwargs.update({'skip_registry': True})
9696
input_type = factory_type('input', DjangoInputObjectType, operation, **factory_kwargs)
9797

9898
global_arguments[operation].update({

graphene_django_extras/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def __init_subclass_with_meta__(cls, serializer_class=None, queryset=None, only_
362362
input_type = registry.get_type_for_model(model, for_input=operation)
363363

364364
if not input_type:
365-
factory_kwargs.update({'skip_registry': True})
365+
# factory_kwargs.update({'skip_registry': True})
366366
input_type = factory_type('input', DjangoInputObjectType, operation, **factory_kwargs)
367367

368368
global_arguments[operation].update({

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ def get_packages():
5555
packages=get_packages(),
5656

5757
install_requires=[
58-
'graphene-django>=2.1.0',
58+
'graphql-core==2.0',
59+
'graphene==2.1',
60+
'graphene-django==2.0',
5961
'django-filter==1.1.0',
6062
'djangorestframework>=3.6.0'
6163
],

0 commit comments

Comments
 (0)