baldator / Poshstache

Mustache Powershell implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Work with Mustache Partials

ErinsMatthew opened this issue · comments

I have been trying to get Poshstache to work with Mustache partials. I am using v0.1.10. It appears that Nustache supports partials. Can you provide a working example of Poshstache doing the same? I truly appreciate your effort in making this project a reality.

commented

Hi @ErinsMatthew,
Thank you for your feedback. Partials are not supported for the time being: I'll include them in the next release.
Marco

@baldator Any updates on this? Is there no way to do recursion with current features? I am trying to transform something like this:

{
  "name": "root"
  "children": [
      { "name": "first", "children": ... },
      { "name": "second", "children": ... }
  ]
}