Refactor oneOf in action schema
Closed
Refactor oneOf in action schema
Using a oneOf
directly within a property schema doesn't work (for autonomy_engine_plan_ID
).
What I don't understand is how the example messages are passing validation.
The message example message failing validation in hydrogen
changed milestone to %CB-2024W37
added Project::MAS-DT Status::In Progress Weight::1 labels
created merge request !51 (merged) to address this issue
mentioned in merge request !51 (merged)
added Status::In Review label and removed Status::In Progress label
I'm not sure why this is necessary. The new messages (with
autonomy_engine_plan_ID:uuid
) fail to validate in hydrogen. So far I can't figure out why. They pass the tests which perform the same validation. They also pass when I run the validation manually outside hydrogen.This version works in all settings. I don't think this refactor should be necessary but it works.