public class ToSchemaKt
Modifier and Type | Method and Description |
---|---|
static graphql.schema.GraphQLSchema |
toSchema(SchemaGeneratorConfig config,
java.util.List<com.expedia.graphql.TopLevelObject> queries,
java.util.List<com.expedia.graphql.TopLevelObject> mutations)
Entry point to generate a graphql schema using reflection on the passed objects.
|
public static graphql.schema.GraphQLSchema toSchema(SchemaGeneratorConfig config, java.util.List<com.expedia.graphql.TopLevelObject> queries, java.util.List<com.expedia.graphql.TopLevelObject> mutations)
Entry point to generate a graphql schema using reflection on the passed objects.
config
- Schema generation configurationqueries
- List of class TopLevelObject
to use for GraphQL queriesmutations
- List of class TopLevelObject
to use for GraphQL mutations