Skip to content

Commit eca9167

Browse files
committed
Merge pull request graphql-java#20 from nfl/master
mutationType is optional
2 parents 4dc8cf6 + 539ebbd commit eca9167

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)