Closed
Description
Hi!
I like your library!
I tried to take a short-cut in my state machine, validator returned a list (empty list would mean False) and the error message was not related to the actual problem.
I wonder if it would make sense to emphasize (in example, maybe) that validators need to return bool
value.
Or make it checked somehow? if a guard gets something else than a bool
, it would log a warning?
Or then, it's also possible to coerce to bool... not sure which is best here.
Metadata
Metadata
Assignees
Labels
No labels