⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

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

Open
comp615 wants to merge 1 commit intospullara:masterfrom
comp615:master
Open

Add test cases for scala handler dot notation with classes#188
comp615 wants to merge 1 commit intospullara:masterfrom
comp615:master

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