Search in sources :

Example 1 with SchemaUtil

use of graphql.schema.SchemaUtil in project graphql-java by graphql-java.

the class TraversalContext method enterImpl.

private void enterImpl(SelectionSet selectionSet) {
    GraphQLUnmodifiedType rawType = new SchemaUtil().getUnmodifiedType(getOutputType());
    GraphQLCompositeType parentType = null;
    if (rawType instanceof GraphQLCompositeType) {
        parentType = (GraphQLCompositeType) rawType;
    }
    addParentType(parentType);
}
Also used : GraphQLUnmodifiedType(graphql.schema.GraphQLUnmodifiedType) SchemaUtil(graphql.schema.SchemaUtil) GraphQLCompositeType(graphql.schema.GraphQLCompositeType)

Aggregations

GraphQLCompositeType (graphql.schema.GraphQLCompositeType)1 GraphQLUnmodifiedType (graphql.schema.GraphQLUnmodifiedType)1 SchemaUtil (graphql.schema.SchemaUtil)1