Skip to content

Commit

Permalink
smallrye#521: fix suggestions from phillip
Browse files Browse the repository at this point in the history
  • Loading branch information
t1 authored and jmartisk committed Oct 3, 2022
1 parent 5e9c581 commit 1611bcf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<version.jakarta-validation>2.0.2</version.jakarta-validation>
<version.jakarta-annotation>1.3.5</version.jakarta-annotation>
<version.graphql-java>19.1</version.graphql-java>
<version.graphql-java-federation>2.0.8</version.graphql-java-federation>
<verison.io.micrometer>1.9.3</verison.io.micrometer>
<version.vertx>4.3.3</version.vertx>

Expand Down Expand Up @@ -231,6 +232,11 @@
<artifactId>graphql-java</artifactId>
<version>${version.graphql-java}</version>
</dependency>
<dependency>
<groupId>com.apollographql.federation</groupId>
<artifactId>federation-graphql-java-support</artifactId>
<version>${version.graphql-java-federation}</version>
</dependency>

<dependency>
<groupId>io.vertx</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public boolean isEventsEnabled() {
@Override
public boolean isFederationEnabled() {
if (federationEnabled == null) {
federationEnabled = getBooleanConfigValue(ConfigKey.ENABLE_FEDERATION);
federationEnabled = getBooleanConfigValue(ConfigKey.ENABLE_FEDERATION, true);
}
return federationEnabled;
}
Expand Down
1 change: 0 additions & 1 deletion server/implementation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<dependency>
<groupId>com.apollographql.federation</groupId>
<artifactId>federation-graphql-java-support</artifactId>
<version>2.0.6</version>
</dependency>
<!-- Mutiny -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ smallrye.graphql.logPayload=true
mp.graphql.showErrorMessage=java.security.AccessControlException,io.smallrye.graphql.test.apps.exceptionlist.*
mp.graphql.hideErrorMessage=java.io.IOException,io.smallrye.graphql.test.apps.exceptionlist.*
smallrye.graphql.errorExtensionFields=exception,classification,code,description,validationErrorType,queryPath
smallrye.graphql.federation.enabled=true
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ mp.graphql.showErrorMessage=java.security.AccessControlException,io.smallrye.gra
mp.graphql.hideErrorMessage=java.io.IOException,io.smallrye.graphql.test.apps.exceptionlist.*
smallrye.graphql.errorExtensionFields=exception,classification,code,description,validationErrorType,queryPath
smallrye.graphql.parser.capture.sourceLocation=false
smallrye.graphql.federation.enabled=true

0 comments on commit 1611bcf

Please sign in to comment.