Skip to content

No escape in interpolate value #62

@throrin19

Description

@throrin19

Hello,

I have a problem with forEach in a case the string contains special chars for JSON (like ").

If we try to use the $forEach with one of this value, we have the error Interpolated template is not a valid JSON :

Example :

$forEach:
  iterator: 
    - test: '{"example": "example"}'
  template:
    $forEach.key: $forEach.value

to avoid that, I think we should make a JSON.stringify on the value part of interpolated

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