Skip to content
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

[FEATURE REQ] Mock parameter objects to properly parse templates with missing parameters #305

Open
nonik0 opened this issue Nov 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nonik0
Copy link
Contributor

nonik0 commented Nov 8, 2022

Please describe the feature or suggestion.

If a template references an object's properties when passed as a parameter but does not specify a default value for the object and there's not a parameter file available, then template-analyzer can run into parsing issues with the mock object as it won't have the expected properties.

This can later result in undesirable exceptions that could be confusing to users as some fields that reference the missing object fail to evaluate.

Additional context

Related to #296, specifically this would address Johnathon's comment in that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants