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
I would like to know if there is a way to merge only a part of a map into another.
For example I want to merge the map common in anotherlist without the key 'red'.
common: &common
'blue': 'blue'
'yellow': 'yellow'
'red': 'red'
anotherlist:
<<: *common
I know that to merge one or more maps I can use the merge key type '<<', but I don't know how I can exclude a part of the common map from the merge.