style: Special case IntOrBool 1 and 0 values to yes and no.#117
style: Special case IntOrBool 1 and 0 values to yes and no.#117
Conversation
KatrinaHoffert
left a comment
There was a problem hiding this comment.
Might be still a smidge confusing because I'm guessing it means that formatValue can still be inconsistent (i.e., user specified "0" but it becomes "false"), but probably less likely to be inconsistent than before? I assume that inconsistency is what you're trying to fix.
Yeah that was my thought process as well. Theoretically we could track whether the user specified an int or a bool and propagate that back to them, but that seems more complexity than it's worth I would imagine that |
No description provided.