BooleanBone
's defaultValue
cannot be a callable
#1178
Labels
bug(fix)
Something isn't working or address a specific issue or vulnerability
Priority: High
After critical issues are fixed, these should be dealt with before any further issues.
Milestone
The validation allows only bool, if you provide a
callable
(that returns a boolean) aTypeError
is raisedhttps://github.com/viur-framework/viur-core/blob/33b85bea33d529a3caef58bb8c6edfc2b8a8256c/src/viur/core/bones/boolean.py#L26C80-L26C111
The text was updated successfully, but these errors were encountered: