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 iterating over a recursive structure where it's undesirable for undefined values in the patch to replace their counterparts in the target.
According to the literal declarative nature of Patchinko this would be an intuitive scenario to create a new iteration token case for (I for ignore?) but in practice this is achievable with S by simply returning the input.
This proposal is for a function that can be supplied to P and run after patch iteration with the following arguments: key, source, patch, replace, replace being a function that can be invoked to replace the patch value.
Thus the generic 'skip nullish' scenario would read as:
I'm iterating over a recursive structure where it's undesirable for
undefined
values in the patch to replace their counterparts in the target.According to the literal declarative nature of Patchinko this would be an intuitive scenario to create a new iteration token case for (
I
for ignore?) but in practice this is achievable withS
by simply returning the input.This proposal is for a function that can be supplied to
P
and run after patch iteration with the following arguments:key, source, patch, replace
,replace
being a function that can be invoked to replace the patch value.Thus the generic 'skip nullish' scenario would read as:
The text was updated successfully, but these errors were encountered: