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

Variables are not resolved in parent context #2

Open
noha opened this issue Aug 13, 2018 · 0 comments
Open

Variables are not resolved in parent context #2

noha opened this issue Aug 13, 2018 · 0 comments
Labels

Comments

@noha
Copy link
Owner

noha commented Aug 13, 2018

Variable should walk up the contexts in order to resolve a name:

Variables
The most basic tag type is the variable. A {{name}} tag in a basic template will try to find the name key in the current context. If there is no name key, the parent contexts will be checked recursively. If the top context is reached and the name key is still not found, nothing will be rendered.

@noha noha added the bug label Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant