lib/graphql/schema/argument.rb in graphql-2.3.0 vs lib/graphql/schema/argument.rb in graphql-2.3.1
- old
+ new
@@ -288,9 +288,10 @@
maybe_loaded_value = loaded_value || prepared_value
context.query.after_lazy(maybe_loaded_value) do |resolved_loaded_value|
# TODO code smell to access such a deeply-nested constant in a distant module
argument_values[arg_key] = GraphQL::Execution::Interpreter::ArgumentValue.new(
value: resolved_loaded_value,
+ original_value: resolved_coerced_value,
definition: self,
default_used: default_used,
)
end
end