This seems to be a simple matter and maybe it's solved already, but I'm not sure how to do it. I'd like to keep arbitrary unresolved expressions for later evaluation. Note that I still don't know which expressions are already defined.
For example, suppose I have the expression...
{{source.path}}/mainmenu{{ext}}"
...and the context defines ext
as .js
, but source.path
is still undefined. What I get is/mainmenu.js"
, but I'd like to get {{source.path}}/mainmenu.js"
instead so that I can evaluate {{source.path}}
at a later time. HandlebarsConfiguration.UnresolvedBindingFormatter
seemed promising, but it doesn't handle the complete original expression. HandlebarsConfiguration.ExpressionNameResolver
also didn't help.
So, is it possible to do this at all? Thanks in advance for any help.