Skip to content

Commit d05325d

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b576bb9 + b8c567a commit d05325d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 7.4.1-SNAPSHOT
1+
version = 7.4.2-SNAPSHOT
22
group = com.graphql-java-kickstart
33

44
LIB_GRAPHQL_JAVA_VER = 12.0

src/main/java/graphql/servlet/GraphQLObjectMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public Map<String, Object> convertSanitizedExecutionResult(ExecutionResult execu
133133
result.put("errors", executionResult.getErrors());
134134
}
135135

136-
if(executionResult.getExtensions() != null){
136+
if(executionResult.getExtensions() != null && !executionResult.getExtensions().isEmpty()){
137137
result.put("extensions", executionResult.getExtensions());
138138
}
139139

0 commit comments

Comments
 (0)