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

nested value with templated key #32

Open
drudderd opened this issue Jan 16, 2019 · 0 comments
Open

nested value with templated key #32

drudderd opened this issue Jan 16, 2019 · 0 comments

Comments

@drudderd
Copy link

drudderd commented Jan 16, 2019

I seem to have an issue to process a template like this:

{ "{{ value_a }}": { key: "{{ value_b }} " } }

As far as I could see, the method TRANSFORM.run checks for the type of template, in this case an object. There are no include-keys, so we just loop trough the keys in the template. We can than see that our key is a template, but no #each or #include. So we invoke TRANSFORM.fillout both on the key and the value.

According to me this is a bug. We should invoke TRANSFORM.run on the value in order to check it for being on object / array ... with possible nested templates.

Does it make sense what I am saying?

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