-
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)
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)
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 subscriptions
-
-
-
-