Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases for scala handler dot notation with classes #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

comp615
Copy link

@comp615 comp615 commented Mar 22, 2017

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

@spullara
Copy link
Owner

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.

@spullara
Copy link
Owner

I'm tracking this as an issue: #189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants