andrewdavey / andrewdavey/cassette
Hogan Template Not Given Enough Info To Invoke Lambdas
Open
Bug
- Dominant language
- C#
- Stars
- 531
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
In the HoganCompiler, the stringified functions created by calling:
`return Hogan.compile(template, { asString: true });`
This populates a Hogan.Template instance. This instance only has the `r` functions set from the aforementioned step. However, the `c` property (a reference to Hogan.Complier), the `text` property (the original string), and the `options` aren't provided.
Calling Hogan.Complie on the client will property set all of this for you, but it obviously defeats the purpose of precompiling on the server.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.