Skip to content
#

mustache

Here are 458 public repositories matching this topic...

swijnands
swijnands commented Mar 24, 2021

Describe the bug

Trying to enumerate an array via a nested object path:

{{#bundles.styles.vendor}}{{this}}{{/bundles.styles.vendor}}

Results in an IndexOutOfRangeException exception.

Expected behavior:

I would expect the same result as when not using a nested path, i.e.

{{#arr}}....{/arr}}

Or, alternatively, if this is not supported: a cleare

digitalsanctum
digitalsanctum commented Mar 14, 2021

I'd like to be able to use ramhorns with arbitrary data supplied via JSON. From what I can tell, serde_json::Value fits the requirement for doing this but ramhorns uses a derive trait which won't work with serde_json::Value because it's an enum.

Is there a workaround or an easier way to accomplish using arbitrary data with ramhorns that doesn't require using the ramhorns::Content trait?

full-stack java file server with no limitation for files uploads and downloads: spring-boot + Gradle Kotlin DSL, Gradle buildSrc, postgres / h2, apache fileUpload, lombok, mustache, docker, jgiven, powermock, gradle, CI, bootstrap 4, bootstrap-filelinput, webjars, maven github-release-plugin, nginx, haproxy, reverse-proxy

  • Updated May 26, 2020
  • Java

Improve this page

Add a description, image, and links to the mustache topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mustache topic, visit your repo's landing page and select "manage topics."

Learn more