Skip to content

Commit

Permalink
Add new Federation annotations to the index
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Jan 30, 2024
1 parent 52818fa commit 936d7a2
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 936d7a2

Please sign in to comment.