mustache.java
mustache.java copied to clipboard
Add test cases for scala handler dot notation with classes
Passing in a class as a value for the context works when you use standard notation: {{#classValue}} {{classMember}} {{/classValue}}
However, it throws a notFound/guard error when referenced directly: {{classValue.classMember}}
This added two tests to illustrate the differences, with the dot notation one failing
It looks like because the ScalaObjectHandler wraps Maps I have an issue in the dot notation. Digging into it to see how it can be fixed.
I'm tracking this as an issue: https://github.com/spullara/mustache.java/issues/189