mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
Boolean fields in manually mapped "Call workflow" inputs and in Set
fields could only be hardcoded with a switch, so step inputs could not
drive them the way they drive every other field type.
This change enables expression mode for boolean assignment values, makes
boolean toggles accept dropped variables like other expression-capable
fields, and casts resolved values against an explicit true/false
vocabulary.
Note: a boolean expression resolving to an unrecognized value ("maybe")
now fails the step with a clear error instead of silently taking the
false branch.
---------
Co-authored-by: Régis Hanol <regis@hanol.fr>
|
||
|---|---|---|
| .. | ||
| admin | ||
| discourse | ||