Method: GraphQL::Query::ValidationPipeline#validation_errors

Defined in:
lib/graphql/query/validation_pipeline.rb

#validation_errorsArray<GraphQL::StaticValidation::Error, GraphQL::Query::VariableValidationError>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns Static validation errors for the query string.

Returns:



38
39
40
41
# File 'lib/graphql/query/validation_pipeline.rb', line 38

def validation_errors
  ensure_has_validated
  @validation_errors
end