diff --git a/graphene/core/types/objecttype.py b/graphene/core/types/objecttype.py index 363d881b..9745d3c5 100644 --- a/graphene/core/types/objecttype.py +++ b/graphene/core/types/objecttype.py @@ -244,10 +244,8 @@ class InputObjectType(ObjectType): @classmethod def internal_type(cls, schema): - fields = lambda: OrderedDict([(f.name, schema.T(f)) - for f in cls._meta.fields]) return GraphQLInputObjectType( cls._meta.type_name, description=cls._meta.description, - fields=fields, + fields=partial(cls.get_fields, schema), )