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
Full patchinko functionality can be achieved with a single API endpoint based on signature sniffing. This is useful for a certain kind of don't-make-me-think cognitive style, whereby the shape of the code is the focus and the diverse patchinko API references are noisy to remember / read. A drop-in extension would read as follows:
This comes at the cost of disabling immutable PS(replacement, patch) since multiple arguments are necessarily forwarded to P. Thus immutable nested property patching would require the more verbose O(definition => O(replacement, definition, patch)).
The text was updated successfully, but these errors were encountered:
Full patchinko functionality can be achieved with a single API endpoint based on signature sniffing. This is useful for a certain kind of don't-make-me-think cognitive style, whereby the shape of the code is the focus and the diverse patchinko API references are noisy to remember / read. A drop-in extension would read as follows:
…such that, testing sequentially:
O()
D
O(...severalArguments)
P(...severalArguments)
O(function)
S(function)
O(oneNonFunctionArgument)
PS(oneNonFunctionArgument)
This comes at the cost of disabling immutable
PS(replacement, patch)
since multiple arguments are necessarily forwarded toP
. Thus immutable nested property patching would require the more verboseO(definition => O(replacement, definition, patch))
.The text was updated successfully, but these errors were encountered: