andrewdavey / andrewdavey/cassette

Hogan Template Not Given Enough Info To Invoke Lambdas

未关闭
#298 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug
主要语言
C#
星标
531
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。