Closed jlimas closed 2 years ago
Thank you for your report. This looks like a bug to me.
I think I found the issue, I created a PR @Nargonath not sure if I'm missing something but I think that's the root cause.
Fix from #116 published in v6.0.2, thanks again!
Thanks for the quick fix @jlimas.
As the title says, using 0 as the $default value for a $coerce number returns undefined.
Example key in store.
The test case
Using any other value for $default like 1 makes the test pass without problems.