Closed joeybaker closed 8 years ago
@Marsup When you get the time, I'd really appreciate if you looked at this. It fixes a few things that I think are kind of important. Thanks!
Sorry for the delay, your PR went in at a bad time and I forgot about it, thanks for the reminder and the patch.
Thanks!
Previously, if you used
valid
orallow
, and only had one value, lout would show just that value. This was very inconvenient if the additional value wasnull
. It looks like the only valid value isnull
:\This change get smart about
valid
andallow
, and deals with multiple values.valid
, we just show that value. It's the only possibility (this is current behavior).valid
, but have multiple values, we show all of them, but specify that the value "must be one of" the list.allow
and specify one value, we show the type and note that the value "can also be" the additional value.allow
and specify multiple values, we show the type and note that the value "can also be one of" the additional values.