Repository navigation
Allow strictNullHandling to work when using a custom filter - #279
Conversation
… `filter`/`serializeDate`
ljharb
left a comment
There was a problem hiding this comment.
Can you please provide a test case, so it's clear what you expected to work, and how it failed?
|
Added a test as requested. An explanation of the issue: If you specify a custom filter in your stringify options the By changing this |
ljharb
left a comment
There was a problem hiding this comment.
Thanks; I also added a test case for a serializeDate that returns null, which your fix also addresses.
… `filter`/`serializeDate` (#279)
… `filter`/`serializeDate` (#279)
… `filter`/`serializeDate` (#279)
Fixes #278