class Dry::Schema::MessageCompiler

def append_mapped_size_tokens(tokens)

Other tags:
    Api: - private
def append_mapped_size_tokens(tokens)
  # this is a temporary fix for the inconsistency in the "size" errors arguments
  mapped_hash = tokens.each_with_object({}) { |(k, v), h| h[k.to_s.gsub("size", "num").to_sym] = v }
  tokens.merge(mapped_hash)
end