Class SchemaUtil

java.lang.Object
graphql.schema.impl.SchemaUtil

public class SchemaUtil extends Object
  • Constructor Details

    • SchemaUtil

      public SchemaUtil()
  • Method Details

    • visitPartiallySchema

      public static void visitPartiallySchema(GraphQLSchema partiallyBuiltSchema, GraphQLTypeVisitor... visitors)
      Called to visit a partially built schema (during GraphQLSchema build phases) with a set of visitors Each visitor is expected to hold its own side effects that might be last used to construct a full schema
      Parameters:
      partiallyBuiltSchema - the partially built schema
      visitors - the visitors to call
    • groupInterfaceImplementationsByName

      public static com.google.common.collect.ImmutableMap<String,List<GraphQLObjectType>> groupInterfaceImplementationsByName(List<GraphQLNamedType> allTypesAsList)
    • groupImplementationsForInterfacesAndObjects

      public Map<String,List<GraphQLImplementingType>> groupImplementationsForInterfacesAndObjects(GraphQLSchema schema)
    • replaceTypeReferences

      public static void replaceTypeReferences(GraphQLSchema schema)
    • getOperationRootType

      public static GraphQLObjectType getOperationRootType(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition)