Skip to content

Commit

Permalink
Merge pull request #4 from jmartisk/srgql2.8.0-federation-2.5
Browse files Browse the repository at this point in the history
Add new Federation annotations to the index
  • Loading branch information
mskacelik authored Jan 30, 2024
2 parents 52818fa + 936d7a2 commit 19d3df8
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
import io.smallrye.graphql.api.Deprecated;
import io.smallrye.graphql.api.Entry;
import io.smallrye.graphql.api.ErrorExtensionProvider;
import io.smallrye.graphql.api.federation.Authenticated;
import io.smallrye.graphql.api.federation.ComposeDirective;
import io.smallrye.graphql.api.federation.Extends;
import io.smallrye.graphql.api.federation.External;
Expand All @@ -88,6 +89,10 @@
import io.smallrye.graphql.api.federation.Requires;
import io.smallrye.graphql.api.federation.Shareable;
import io.smallrye.graphql.api.federation.Tag;
import io.smallrye.graphql.api.federation.policy.Policy;
import io.smallrye.graphql.api.federation.policy.PolicyGroup;
import io.smallrye.graphql.api.federation.requiresscopes.RequiresScopes;
import io.smallrye.graphql.api.federation.requiresscopes.ScopeGroup;
import io.smallrye.graphql.cdi.config.MicroProfileConfig;
import io.smallrye.graphql.cdi.producer.GraphQLProducer;
import io.smallrye.graphql.cdi.tracing.TracingService;
Expand Down Expand Up @@ -284,6 +289,11 @@ void buildFinalIndex(
indexer.indexClass(ComposeDirective.class);
indexer.indexClass(InterfaceObject.class);
indexer.indexClass(Inaccessible.class);
indexer.indexClass(RequiresScopes.class);
indexer.indexClass(ScopeGroup.class);
indexer.indexClass(Policy.class);
indexer.indexClass(PolicyGroup.class);
indexer.indexClass(Authenticated.class);
indexer.indexClass(io.smallrye.graphql.api.federation.Override.class);
indexer.indexClass(Tag.class);
} catch (IOException ex) {
Expand Down

0 comments on commit 19d3df8

Please sign in to comment.