-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Feels wrong to merge null and undefined values. undefined is smth that doesn't exist, null on the other hand is smth that exists, but doesn't have value.
This makes write(identifier, undefined) same as write(identifier, null). Latter is definitely user wanting to null the value. First doesn't make sense to call deliberately, rather a handy filter for undefined values - if undefined is passed then do nothing.
chronograph/src/chrono/Transaction.ts
Line 455 in 0db8d13
| if (proposedValue === undefined) proposedValue = null |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels