All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.introspection.IntrospectionDataFetchingEnvironment Maven / Gradle / Ivy

The newest version!
package graphql.introspection;

import graphql.Internal;
import graphql.schema.GraphQLSchema;
import graphql.schema.GraphQLType;

import java.util.Map;

/**
 * Extracted from {@link graphql.schema.DataFetchingEnvironment} to only capture
 * the data really needed for {@link Introspection}
 */
@Internal
public interface IntrospectionDataFetchingEnvironment {

     T getSource();

    Map getArguments();

    GraphQLSchema getGraphQLSchema();

     T getArgument(String name);

    GraphQLType getParentType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy