-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Using key / context in helpers #1840
Comments
If I understand you correctly, you want to access the I guess that's a reasonable feature request. Should be doable by simply copying these lines to the
Would be nice if you could open a PR with a fix and a test-case. I'm not sure if this would be a breaking change, since some helpers may rely on the |
Consider the following two uses of a custom helper that needs to know information about the evaluation context in which it's been run:
In the first case, my helper receives an options object with the following useful data fields:
But the second example gives me nothing to work with:
How can I implement the described helper which will also work in a
with
evaluation context?The text was updated successfully, but these errors were encountered: