class Dry::Schema::Step::Scoped
def call(result)
- Api: - private
def call(result) result.at(path) do |scoped_result| output = step.(scoped_result).to_h target = Array(path)[0..-2].reduce(result) { |a, e| a[e] } target.update(path.last => output) end end