Class JmixMaxQueryDepthInstrumentation

java.lang.Object
graphql.execution.instrumentation.SimpleInstrumentation
graphql.analysis.MaxQueryDepthInstrumentation
io.jmix.graphql.limitation.JmixMaxQueryDepthInstrumentation
All Implemented Interfaces:
graphql.execution.instrumentation.Instrumentation

public class JmixMaxQueryDepthInstrumentation extends graphql.analysis.MaxQueryDepthInstrumentation
  • Field Summary

    Fields inherited from class graphql.execution.instrumentation.SimpleInstrumentation

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    graphql.execution.instrumentation.InstrumentationContext<List<graphql.validation.ValidationError>>
    beginValidation(graphql.execution.instrumentation.parameters.InstrumentationValidationParameters parameters)
     

    Methods inherited from class graphql.analysis.MaxQueryDepthInstrumentation

    mkAbortException

    Methods inherited from class graphql.execution.instrumentation.SimpleInstrumentation

    beginExecuteOperation, beginExecution, beginExecutionStrategy, beginField, beginFieldFetch, beginParse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface graphql.execution.instrumentation.Instrumentation

    beginFieldComplete, beginFieldListComplete, beginSubscribedFieldEvent, createState, createState, instrumentDataFetcher, instrumentDocumentAndVariables, instrumentExecutionContext, instrumentExecutionInput, instrumentExecutionResult, instrumentSchema
  • Constructor Details

    • JmixMaxQueryDepthInstrumentation

      public JmixMaxQueryDepthInstrumentation(int maxDepth)
  • Method Details

    • beginValidation

      public graphql.execution.instrumentation.InstrumentationContext<List<graphql.validation.ValidationError>> beginValidation(graphql.execution.instrumentation.parameters.InstrumentationValidationParameters parameters)
      Specified by:
      beginValidation in interface graphql.execution.instrumentation.Instrumentation
      Overrides:
      beginValidation in class graphql.analysis.MaxQueryDepthInstrumentation