Poshstache icon indicating copy to clipboard operation
Poshstache copied to clipboard

Unable to Work with Mustache Partials

Open ErinsMatthew opened this issue 3 years ago • 2 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.

ErinsMatthew avatar Apr 26 '21 17:04 ErinsMatthew

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 avatar May 11 '21 20:05 baldator

@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": ... }
  ]
}

puya-ms avatar Sep 04 '22 04:09 puya-ms