mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 03:52:24 +03:00
Fixed logic bug
This commit is contained in:
parent
49fcf9f2e6
commit
7680ee0eba
|
@ -86,7 +86,7 @@ class Mutation(ObjectType):
|
|||
), f'All interfaces of {cls.__name__} must be a subclass of Interface. Received "{interface}".'
|
||||
fields.update(interface._meta.fields)
|
||||
|
||||
if not output:
|
||||
if output:
|
||||
# If output is defined, we don't need to get the fields
|
||||
fields = {}
|
||||
for base in reversed(cls.__mro__):
|
||||
|
|
Loading…
Reference in New Issue
Block a user