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

Warn when Stache tokens are used at the top level #308

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bmomberger-bitovi
Copy link
Contributor

Fixes #202, but this had to include the commits from #307 for #302 because it depended on the new warnings helpers.

@justinbmeyer
Copy link
Contributor

This isn't a problem if the template is in a component or partial right? And it's not about performance afaik.

Copy link
Contributor

@justinbmeyer justinbmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to make this happen based on runtime info, i.e. If there's no parent nodeList. And it's not about performance.

@bmomberger-bitovi
Copy link
Contributor Author

Comments on the issue #202 explain why this PR isn't ready. Don't merge yet.

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

Successfully merging this pull request may close these issues.

Warn on uncontained top-level expressions
3 participants