oformaniuk / Handlebars.Net

A real .NET Handlebars engine
MIT License
3 stars 1 forks source link

Backward compatibility with Handlebars.Net in terms of helper naming #32

Closed oformaniuk closed 4 years ago

oformaniuk commented 4 years ago

The problem

After few resent PRs (zjklee/Handlebars.CSharp/pull/21 and zjklee/Handlebars.CSharp/pull/20) rules for helper naming become more like in Handlebarsjs. For more details please follow StefH/Handlebars.Net.Helpers/issues/7.

Possible solution

As many users of the original library (e.g. StefH/Handlebars.Net.Helpers) relies on that naming behavior it's possible to add feature toggle that would allow previous naming rules. It should be added to Compatibility settings with default to Handlebarsjs behavior.