It's not currently possible to combine the :bool type with other types. The use case for this is to be able to have a value be a boolean if the user puts true or false or a string version of them, but have the value be a string if they specify some other string value.
Currently, if you use [:bool, :scalar] as the type, you will always get a boolean, regardless of the string given. It is as though you just specified :bool.
It's not currently possible to combine the
:bool
type with other types. The use case for this is to be able to have a value be a boolean if the user putstrue
orfalse
or a string version of them, but have the value be a string if they specify some other string value.Currently, if you use
[:bool, :scalar]
as the type, you will always get a boolean, regardless of the string given. It is as though you just specified:bool
.