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
Note — Boolean coercion with z.coerce.boolean() may not work how you expect. Any truthy value is coerced to true, and any falsy value is coerced to false.
This is not intuitive and irrational. Please fix z.coerce.boolean() to produce false from "false".
Otherwise we can safely assume that coerce is simply broken (!) for booleans.
Reacted by Pieter Beulque, Sanjeev Penupala, Daryl Bagley, Dimitri POSTOLOV and Colin McDonnell
Activity
maurer2 commentedon Dec 24, 2024
Hello, some work is being done on the issue here: #3906
Cheers