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 Type
    Method
    Description
    graphql.GraphQL
    getInstance(SiteContext siteContext)
    Returns the instance for the given SiteContext
  • Method Details

    • getInstance

      graphql.GraphQL getInstance(SiteContext siteContext)
      Returns the instance for the given SiteContext
      Parameters:
      siteContext - the site context used to build the GraphQLSchema
      Returns:
      a GraphQL instance