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 want to use assign to overwrite some values. However, because the overwrite in the assign function is the same as the first parameter, the second parameter cannot be partial. For example:
However, it would be nice if this was baked into the library. I don't know if this should be another function called partialAssign, but I think the current assign function does have its limitations.
The text was updated successfully, but these errors were encountered:
Hi,
I want to use assign to overwrite some values. However, because the overwrite in the assign function is the same as the first parameter, the second parameter cannot be partial. For example:
This gives the following error:
I now fixed this locally using the following:
However, it would be nice if this was baked into the library. I don't know if this should be another function called
partialAssign
, but I think the current assign function does have its limitations.The text was updated successfully, but these errors were encountered: