Class ToFederatedSchemaKt
-
- All Implemented Interfaces:
public final class ToFederatedSchemaKt
-
-
Method Summary
Modifier and Type Method Description final static GraphQLSchema
toFederatedSchema(FederatedSchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions, TopLevelObject schemaObject)
Entry point to generate federated graphql schema using reflection on the passed objects. -
-
Method Detail
-
toFederatedSchema
final static GraphQLSchema toFederatedSchema(FederatedSchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions, TopLevelObject schemaObject)
Entry point to generate federated graphql schema using reflection on the passed objects.
- Parameters:
config
- federated schema generation configurationqueries
- optional list of TopLevelObject to use for GraphQL queriesmutations
- optional list of TopLevelObject to use for GraphQL mutationssubscriptions
- optional list of TopLevelObject to use for GraphQL subscriptionsschemaObject
- optional TopLevelObject reference to the annotated schema class
-
-
-
-