binding
allows invalid values
#109
Labels
backlog
Queued in backlog
bug
Something isn't working
Camunda Cloud
element templates
spring cleaning
Could be cleaned up one day
Describe the Bug
The schema validation for
binding
is insufficient, allowing to set properties not actually relevant to the existing binding type.Steps to Reproduce
Validate the following template:
See that
binding.key
is an allowed property, despite only allowed ifbinding.type === 'zeebe:taskHeader'
.Expected Behavior
We validate known properties of binding, and ensure they are used correctly.
Environment
The text was updated successfully, but these errors were encountered: