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

When referencing an object in the vm input that does not exist, print empty string #5

Open
scottvlaminck opened this issue Apr 27, 2020 · 0 comments

Comments

@scottvlaminck
Copy link
Contributor

When referencing an object that does not exist (e.g. $input.path("$").item2), API Gateway will render it as an empty string. However the default behavior of velocityjs is to print out the reference (e.g. "$input.path("$").item2" instead of "").

Using the velocityjs "silence" option will implement the expected behavior.

A potential solution is presented in PR #4

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

No branches or pull requests

1 participant