Skip to content

Cannot use Advanced Go Templates #61

@CodeShellDev

Description

@CodeShellDev

Description

Currently you are not able to use {{ index .var 0 }} in the Message Template for example,
this means, that only raw {{ .var }} will work.

To Reproduce

Steps to reproduce the behavior:

  1. Start Container
  2. Add {{ index .var 0 }} to Message Template
  3. Send Request
  4. [...]

Expected behavior

The go templating should be unaffected

Additional Context

This is happening due to the normalize func which is automatically applied to each variable to expand variables of type array or dict, etc..

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions