Skip to content

Commit

Permalink
Reflect changes in federation annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Feb 9, 2024
1 parent 3e97361 commit 8ab0d71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<!-- Libraries provided by this feature pack. These variables directly affect what will be in
the built feature pack. -->
<version.io.smallrye.graphql>2.5.1</version.io.smallrye.graphql>
<version.io.smallrye.graphql>2.8.0-SNAPSHOT</version.io.smallrye.graphql>
<version.org.eclipse.microprofile.graphql>2.0</version.org.eclipse.microprofile.graphql>
<version.com.graphql-java>20.2</version.com.graphql-java>
<version.com.graphql-java.dataloader>3.2.0</version.com.graphql-java.dataloader>
Expand Down
1 change: 1 addition & 0 deletions testsuite/integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
<server.jvm.args>${server.jvm.args}</server.jvm.args>
<version.org.wildfly>${version.org.wildfly}</version.org.wildfly>
</systemPropertyVariables>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import io.restassured.RestAssured;
import io.smallrye.graphql.api.federation.Extends;
import io.smallrye.graphql.api.federation.FieldSet;
import io.smallrye.graphql.api.federation.Key;
import jakarta.enterprise.context.ApplicationScoped;
import org.eclipse.microprofile.graphql.Description;
Expand Down Expand Up @@ -61,7 +62,7 @@ public void testFederationMetadataInSchema() {
}

@Extends
@Key(fields = "id")
@Key(fields = @FieldSet("id"))
public static class Product {

@Id
Expand Down

0 comments on commit 8ab0d71

Please sign in to comment.