diff --git a/packages/framework-core/src/services/graphql/graphql-type-informer.ts b/packages/framework-core/src/services/graphql/graphql-type-informer.ts index dc6039db8..2beade27d 100644 --- a/packages/framework-core/src/services/graphql/graphql-type-informer.ts +++ b/packages/framework-core/src/services/graphql/graphql-type-informer.ts @@ -114,7 +114,7 @@ export class GraphQLTypeInformer { return new GraphQLList(this.toInputType(graphQLType.ofType)) } if (graphQLType instanceof GraphQLNonNull) { - return new GraphQLNonNull(graphQLType.ofType) + return new GraphQLNonNull(this.toInputType(graphQLType.ofType)) } if (graphQLType instanceof GraphQLObjectType) { return new GraphQLInputObjectType({