[Bug]: Garden does not throw validation errors for unknown keys in action configs #6846
Labels
bug
priority:high
High priority issue or feature
regression
A return to a previous and less advanced or worse state
Bug
Current behavior
Garden does not fail on invalid fields defined in the action-level configurations.
Expected behavior
Garden should fail with a validation error.
Reproducible example
Modify https://github.com/garden-io/garden/tree/main/examples/demo-project to define
foo: bar
in root-level config of any action.Workaround
None.
Suggested solution(s)
Additional context
Introduced by #6745, likely by the changes in the validation flow in function
resolveTemplates()
.Your environment
garden version 0.13.53
The text was updated successfully, but these errors were encountered: