mirror of
https://github.com/graphql-python/graphene.git
synced 2025-03-12 16:05:47 +03:00
fixed bug when no middlewares are present
This commit is contained in:
parent
91a2423e5e
commit
feb0825a63
|
@ -147,6 +147,8 @@ class GroupNamedType(InstanceType):
|
||||||
name = type.name
|
name = type.name
|
||||||
if not name and schema.auto_camelcase:
|
if not name and schema.auto_camelcase:
|
||||||
name = to_camel_case(type.default_name)
|
name = to_camel_case(type.default_name)
|
||||||
|
elif not name:
|
||||||
|
name = type.default_name
|
||||||
return name, schema.T(type)
|
return name, schema.T(type)
|
||||||
|
|
||||||
def iter_types(self, schema):
|
def iter_types(self, schema):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user