Balog Tamás
05/27/2024, 1:53 PMjoin in the codebase but the documentation refers to it as arrayJoin.Lee Turner
05/27/2024, 3:56 PMjoin helper is the one from the [handlebars.java](https://github.com/jknack/handlebars.java/blob/master/handlebars/src/main/java/com/github/jknack/handlebars/helper/StringHelpers.java#L144) library we use in WireMock.
We wanted one that would make it easy to create valid json and work as a block helper. We didn't want them to clash from a naming perspective so we called our new one arrayJoin and made is syntax compatible with the join helper so they could be a drop in replacement.
The main difference is that our new one can be used as a block element:
[{{#arrayJoin ',' myThings as |item|}}
{
"name{{item.id}}": "{{item.name}}"
}
{{/arrayJoin}}]Balog Tamás
05/27/2024, 5:22 PMarrayJoin.