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'm looking for a generic Object.Override (can't think of a better name :/) generic that would "merge" one object (origin) into another (target), but instead of using Union on the values, only the values from the origin object would stick, replacing those of the target. Example:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking for a generic
Object.Override
(can't think of a better name :/) generic that would "merge" one object (origin) into another (target), but instead of using Union on the values, only the values from the origin object would stick, replacing those of the target. Example:My current solution is this:
If this exists, then I've missed it. If not, then I'd suggest adding it!
Beta Was this translation helpful? Give feedback.
All reactions