Closed yoshigev closed 2 years ago
For JS implementation, @last is supported for object iteration since 2014 (added here).
@last
For .NET it is disabled by default, and controlled by the SupportLastInObjectIterations configuration flag, with the following note:
SupportLastInObjectIterations
If true enables support for @last in object properties iterations. Not supported in Handlebarsjs.
true
By leaving the default false, the .NET engine is incompatible to the JS engine out-of-the-box.
false
So please consider changing the default to true, or at least add documentation of SupportLastInObjectIterations...
Thanks, Yehoshua
Hello @yoshigev I'd be happy to merge the PR 😃
For JS implementation,
@last
is supported for object iteration since 2014 (added here).For .NET it is disabled by default, and controlled by the
SupportLastInObjectIterations
configuration flag, with the following note:By leaving the default
false
, the .NET engine is incompatible to the JS engine out-of-the-box.So please consider changing the default to
true
, or at least add documentation ofSupportLastInObjectIterations
...Thanks, Yehoshua