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

Is the expression interpolation recursive? #659

Open
s666p opened this issue Sep 22, 2023 · 0 comments
Open

Is the expression interpolation recursive? #659

s666p opened this issue Sep 22, 2023 · 0 comments

Comments

@s666p
Copy link

s666p commented Sep 22, 2023

Hello everyone. It is very important for my project to use a template engine that recursively renders expression pointing to other expression.

For example, we have the following context:

name->{{key1}}
key1->{{key2}}
key2->Jared

and this template:
Hello, {{name}}

I need the following recursive behavior:

render(name)
--> render(key1)
----> render(key2)

with output:
Hello, Jared

Could you please tell me if this functionality is available? If so, how do I turn it on? If not, are there any other options?

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