Skip to content

Commit

Permalink
fix: Correct input types for non-nullable arrays (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-advantitge authored Aug 10, 2021
1 parent f6a488a commit a294384
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit a294384

Please sign in to comment.