Return a "false" schema for creation of workflow transition when there's no choice
Previously, we no transition was possible to fire, we would return an empty array in the "oneOf" of "name" property, which is invalid (see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7.3). So we return a "false" Boolean schema in these cases, thus clearly indicating that no transition can be fired.
Please register or sign in to comment