-
public final class ToSchemaKt
-
-
Method Summary
Modifier and Type Method Description final static GraphQLSchema
toSchema(SchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions)
Entry point to generate a graphql schema using reflection on the passed objects. -
-
Method Detail
-
toSchema
final static GraphQLSchema toSchema(SchemaGeneratorConfig config, List<TopLevelObject> queries, List<TopLevelObject> mutations, List<TopLevelObject> subscriptions)
Entry point to generate a graphql schema using reflection on the passed objects.
- Parameters:
config
- schema generation configurationqueries
- 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
-
-
-
-