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

Extending the #Each Syntax to accept a Scalar Value / Object #12

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

Conversation

justshrey
Copy link

@justshrey justshrey commented Apr 2, 2018

This request automatically boxes a Scalar Value / Object to an IEnumerable when using the #Each Syntax instead of throwing an Exception

Removes the exception '{0}' is used like an array by the template, but is a scalar value or object in your model.

Addresses issue #11

Will add it to the ParserOption framework made by @JPVenson once it in the main line.

… #Each Syntax instead of throwing an Error.

Will add it to the ParserOption framework made by @JPVenson once it in the main line.
@JPVenson
Copy link

Hey @justshrey I have Forked my pull-request and made a lot more changes including the Definition of false. If the changes do not help you out, you could have a look in the fork https://github.com/JPVenson/morestachio

@justshrey
Copy link
Author

@JPVenson Thanks 👍 . Will check it out.

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.

None yet

2 participants