Skip to content

nested value with templated key #32

Open

Description

@drudderd

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions