Handlebars.Net icon indicating copy to clipboard operation
Handlebars.Net copied to clipboard

Hash arguments for inline paritals

Open zanejgr opened this issue 3 years ago • 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

zanejgr avatar Nov 16 '23 17:11 zanejgr