public class ToFederatedSchemaKt
| Modifier and Type | Method and Description |
|---|---|
static graphql.schema.GraphQLSchema |
toFederatedSchema(FederatedSchemaGeneratorConfig config,
java.util.List<com.expedia.graphql.TopLevelObject> queries,
java.util.List<com.expedia.graphql.TopLevelObject> mutations,
java.util.List<com.expedia.graphql.TopLevelObject> subscriptions)
Entry point to generate federated graphql schema using reflection on the passed objects.
|
public static graphql.schema.GraphQLSchema toFederatedSchema(FederatedSchemaGeneratorConfig config, java.util.List<com.expedia.graphql.TopLevelObject> queries, java.util.List<com.expedia.graphql.TopLevelObject> mutations, java.util.List<com.expedia.graphql.TopLevelObject> subscriptions)
Entry point to generate federated graphql schema using reflection on the passed objects.
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