Handlebars-Net/Handlebars.Net

Hash arguments for inline paritals

Opened this issue · 0 comments

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