Handlebars-Net / Handlebars.Net

A real .NET Handlebars engine
MIT License
1.22k stars 213 forks source link

[Question] Is there any way to enumerate the Handlebars that are defined in a given compiled template ? #526

Open Simonl9l opened 1 year ago

Simonl9l commented 1 year ago

I using a POCO Model to pass values into the compiled model. I'm looking to validate that the Handlebars in the template match the attributes of the model.

oformaniuk commented 1 year ago

There's no build in way to do so. You may have a look at helperMissing feature as access to fiends is treated as helper calls.