feat(mapper): allow to merge existing values by extracting identifiers - #260
Conversation
745cb5b to
12a3e45
Compare
Korbeil
left a comment
There was a problem hiding this comment.
I do think it adds a lot of complexity to Array transformers (from/to), would it be possible to add some kind of abstraction to separate the pure mapping part & the identifier/existing values handling in separate class / traits or whatever ?
1151b7f to
98598c6
Compare
Yeah but all of this is internal and it's only on implementation, i don't want to over abstract thing, as it may changes and other bugs may appear, we can always change it latter since it's internal, i first want feedback on using this feature before abstracting the code and public api is minimal on this (so it would not impact anything) |
98598c6 to
7355357
Compare
7355357 to
b97fa96
Compare
This introduce the possibility to deep merge object with collections and fetching the correct value to update it instead of adding a new one into the collection