class Dry::Schema::ProcessorSteps
def import_callbacks(path, other)
- Api: - private
def import_callbacks(path, other) other.before_steps.each do |name, steps| before_steps[name] ||= [] before_steps[name].concat(steps.map { |step| step.scoped(path) }).sort_by!(&:path) end other.after_steps.each do |name, steps| after_steps[name] ||= [] after_steps[name].concat(steps.map { |step| step.scoped(path) }).sort_by!(&:path) end end