graphql.execution.instrumentation.parameters.InstrumentationValidationParameters Maven / Gradle / Ivy
package graphql.execution.instrumentation.parameters;
import graphql.ExecutionInput;
import graphql.PublicApi;
import graphql.execution.instrumentation.Instrumentation;
import graphql.execution.instrumentation.InstrumentationState;
import graphql.language.Document;
import graphql.schema.GraphQLSchema;
/**
* Parameters sent to {@link Instrumentation} methods
*/
@PublicApi
public class InstrumentationValidationParameters extends InstrumentationExecutionParameters {
private final Document document;
public InstrumentationValidationParameters(ExecutionInput executionInput, Document document, GraphQLSchema schema) {
super(executionInput, schema);
this.document = document;
}
public Document getDocument() {
return document;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy