class GraphQL::StaticValidation::MutationRootExistsError
Public Class Methods
# File lib/graphql/static_validation/rules/mutation_root_exists_error.rb, line 7 def initialize(message, path: nil, nodes: []) super(message, path: path, nodes: nodes) end
Calls superclass method
GraphQL::StaticValidation::Error::new
Public Instance Methods
Source
# File lib/graphql/static_validation/rules/mutation_root_exists_error.rb, line 22 def code "missingMutationConfiguration" end
Source
# File lib/graphql/static_validation/rules/mutation_root_exists_error.rb, line 12 def to_h extensions = { "code" => code, } super.merge({ "extensions" => extensions }) end
A hash representation of this Message
Calls superclass method
GraphQL::StaticValidation::Error#to_h