class GraphQL::StaticValidation::RequiredArgumentsArePresentError
Attributes
arguments[R]
class_name[R]
name[R]
Public Class Methods
new(message, path: nil, nodes: [], class_name:, name:, arguments:)
click to toggle source
Calls superclass method
GraphQL::StaticValidation::Error::new
# File lib/graphql/static_validation/rules/required_arguments_are_present_error.rb, line 9 def initialize(message, path: nil, nodes: [], class_name:, name:, arguments:) super(message, path: path, nodes: nodes) @class_name = class_name @name = name @arguments = arguments end
Public Instance Methods
code()
click to toggle source
# File lib/graphql/static_validation/rules/required_arguments_are_present_error.rb, line 30 def code "missingRequiredArguments" end
to_h()
click to toggle source
A hash representation of this Message
Calls superclass method
GraphQL::StaticValidation::Error#to_h
# File lib/graphql/static_validation/rules/required_arguments_are_present_error.rb, line 17 def to_h extensions = { "code" => code, "className" => class_name, "name" => name, "arguments" => arguments } super.merge({ "extensions" => extensions }) end