-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validation misses nested values #23
Comments
possible solution via jinja2schema https://stackoverflow.com/questions/42589514/how-to-get-nested-undeclared-variables-in-python-jinja2
|
[#23] fail properly for undefined values instead of templating empty string
the merged PR now raises a proper error when nested values are missing but validation still can't detect them properly. |
@AFriemann, the easiest way to check for existence of nested variables is dry-run of rendering. But here we need to choose:
I've already made a Proof of Concept for third option: #69 |
missing values like
{{ foo.bar }}
will be missed during validation iffoo
is defined.leaving it undefined only recognizes the top level variable as missing
The text was updated successfully, but these errors were encountered: