Skip to content

Commit 539ebbd

Browse files
author
Todd Berman
committed
mutationType is optional
1 parent 4dc8cf6 commit 539ebbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/graphql/introspection/Introspection.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public Object get(DataFetchingEnvironment environment) {
380380
.field(newFieldDefinition()
381381
.name("mutationType")
382382
.description("If this server supports mutation, the type that mutation operations will be rooted at.")
383-
.type(new GraphQLNonNull(__Type))
383+
.type(__Type)
384384
.dataFetcher(new DataFetcher() {
385385
@Override
386386
public Object get(DataFetchingEnvironment environment) {

0 commit comments

Comments
 (0)