mustache.java icon indicating copy to clipboard operation
mustache.java copied to clipboard

Path nio File

Open jbeaken opened this issue 3 years ago • 1 comments

https://github.com/spullara/mustache.java/pull/273 (Add FileSystemResolver(Path) constructor ) was merged into main on 6 Oct 2021, but isn't part of release 0.9.10

Simple to build from main, or even copy/paste the enhanced FileSystemResolver, but would be nice to have as the nio Path usage allows for mocking the filesystem with jmfs

jbeaken avatar Oct 28 '22 09:10 jbeaken

Unfortunately my comment was not on top priority :( https://github.com/spullara/mustache.java/pull/224#issuecomment-543073806 But you can use com.github.mustachejava.DefaultMustacheFactory#DefaultMustacheFactory(com.github.mustachejava.MustacheResolver) constructor directly. Implement your own resolver.

com.github.mustachejava.MustacheResolver

bademux avatar May 06 '23 22:05 bademux