class Dry::Schema::Key

def read(source)

Other tags:
    Api: - private
def read(source)
  return unless source.is_a?(::Hash)
  if source.key?(name)
    yield(source[name])
  elsif source.key?(coerced_name)
    yield(source[coerced_name])
  end
end