graphql.introspection.IntrospectionDataFetchingEnvironment Maven / Gradle / Ivy
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();
}