class GraphQL::Execution::Interpreter::ArgumentValue
A container for metadata regarding arguments present in a GraphQL query. See Interpreter::Arguments#argument_values for a hash of these objects.
Attributes
Returns
-
GraphQL::Schema::Argument— The definition instance for this argument
Returns
-
Object— The value of this argument beforeprepareis applied.
Returns
-
Object— The Ruby-ready value for this Argument
Public Class Methods
# File lib/graphql/execution/interpreter/argument_value.rb, line 10 def initialize(definition:, value:, original_value:, default_used:) @definition = definition @value = value @original_value = original_value @default_used = default_used end
Public Instance Methods
Source
# File lib/graphql/execution/interpreter/argument_value.rb, line 38 def default_used? @default_used end
Returns
-
Boolean—trueif the schema-defineddefault_value:was applied in this case. (No client-provided value was present.)