Package org.craftercms.engine.graphql
Interface GraphQLFactory
- All Known Implementing Classes:
GraphQLFactoryImpl
public interface GraphQLFactory
Creates a
GraphQLSchema
and returns a GraphQL
instance for a specific site.- Since:
- 3.1
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptiongraphql.GraphQL
getInstance
(SiteContext siteContext) Returns the instance for the givenSiteContext
-
Method Details
-
getInstance
Returns the instance for the givenSiteContext
- Parameters:
siteContext
- the site context used to build theGraphQLSchema
- Returns:
- a
GraphQL
instance
-