hash_mapper icon indicating copy to clipboard operation
hash_mapper copied to clipboard

DSL for mapping between data structures

Results 6 hash_mapper issues
Sort by recently updated
recently updated
newest added

Allow passing callables as per-field mapping filters ```ruby name_with_title = ->(name) { "Mr. #{name}" } # or anything that responds to `#call(value)`. map from('/name'), to('/name', filter: name_with_title ) ```

In my use case, I wanted to map some keys but keep others as is and did not want to have to map them with themselves all the time. So...

I often find I have to use multiple input properties to get the value for aa single output property. Right now you can do this, but you have to use...

RubyGems.org doesn't report a license for your gem. This is because it is not specified in the [gemspec](https://github.com/rubygems/rubygems/pull/713) of your last release. via e.g. ``` spec.license = 'MIT' # or...

HashMapper is already compatible with Ruby 3.x but the tests required a few tweaks. I also removed the load path manipulation which was presumably required back in the day but...