Closed v-kolesnikov closed 6 years ago
Use ROM::Transformer
instead, this will be the default in ROM 5.0 and current DSL is going away exactly due to the type of issues you're having.
@solnic OK. Thank you for your answer! I actually have resolved my problem with a couple of workarounds. I will look more at ROM::Transformer
as well.
@v-kolesnikov the DSL is identical as in transproc's Transformer, this is much more straight-forward and predictable than ROM::Mapper
's DSL, that's why we decided to use it instead. Changesets' map
feature already uses transformer DSL.
Hi! 👋
Seems like there is some strange behaviour in rom-mapper.
What I want to do is simple map the following data:
to:
So, I have written mapper as following:
but it doesn't works as expected.