Skip to content

Commit 41a374e

Browse files
authored
Update ArgumentBuilder.java
set input to true
1 parent 7db70b3 commit 41a374e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/annotations/processor/retrievers/fieldBuilders/ArgumentBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public List<GraphQLArgument> build() {
6161
filter(p -> !DataFetchingEnvironment.class.isAssignableFrom(p.getType())).
6262
map(parameter -> {
6363
Class<?> t = parameter.getType();
64-
graphql.schema.GraphQLInputType graphQLType = graphQLInputObjectRetriever.getInputObject(finalTypeFunction.buildType(t, parameter.getAnnotatedType(), container), DEFAULT_INPUT_PREFIX, container.getTypeRegistry());
64+
graphql.schema.GraphQLInputType graphQLType = graphQLInputObjectRetriever.getInputObject(finalTypeFunction.buildType(true, t, parameter.getAnnotatedType(), container), DEFAULT_INPUT_PREFIX, container.getTypeRegistry());
6565
return getArgument(parameter, graphQLType);
6666
}).collect(Collectors.toList());
6767

0 commit comments

Comments
 (0)