You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dlespiau
changed the title
Add the ability to attach merge strategies on object as a Symbol
Add the ability to attach merge strategies on objects as a Symbol
Sep 15, 2019
At the moment we have to explicitly tell
merge
the rules to merge two objects. For instance:We could attach:
as a
Symbol
on the left-hand side object and have merge pick it up automatically (only if the 3rd argument to merge isundefined
though).We could start having well known
jk.*
symbols, saySymbol.for('jk.merge')
for this one.The text was updated successfully, but these errors were encountered: