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

Hash arguments for inline paritals #560

Open
zanejgr opened this issue Nov 16, 2023 · 0 comments
Open

Hash arguments for inline paritals #560

zanejgr opened this issue Nov 16, 2023 · 0 comments

Comments

@zanejgr
Copy link

zanejgr commented Nov 16, 2023

Is your feature request related to a problem? Please describe.
When attempting to define a partial, e.g. {{#*inline "my_partial" arg}}{{arg}}{{/inline}}, a runtime exception is raised:
HandlebarsDotNet.HandlebarsRuntimeException: {{*inline}} helper must have exactly one argument

Describe the solution you'd like
Hash arguments for inline partials should be supported, as they are in Handlebarsjs

Describe alternatives you've considered
Registering compiled partials, which is impractical for some situations

Is your feature request supported by Handlebarsjs? Please provide details.
Yes, see
image

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

No branches or pull requests

2 participants