Release 0.5.1
Test / test (push) Successful in 58s
Publish release / publish (push) Successful in 3m2s

This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-28 17:48:37 +02:00
parent 68471969b5
commit 6ee6551400
7 changed files with 71 additions and 18 deletions
+1 -7
View File
@@ -242,13 +242,7 @@ pub fn validate_questions(
question.id, alternative.name, st.to, st.bucket
);
}
if st.from.is_empty() {
anyhow::bail!(
"question {:?} alternative {:?}: self_transition.from is empty, so the move can never be made",
question.id, alternative.name
);
}
for from in &st.from {
for from in &st.from_states(&schema.initial) {
if !schema.has_state(from) {
anyhow::bail!(
"question {:?} alternative {:?}: self_transition.from {:?} is not a declared state for bucket {:?}",