Skip to content

compile string to template without registering #597

@dexterdy

Description

@dexterdy

Currently when I have a string in my helper that I want to transform into a template to render, I have to create a new instance of Handebars, register a template and then get the Template. I can't use the existing instance, because I don't have mutable access to it. This is a little verbose and seems unnecessary. It would be really nice if I could just use the existing instance and compile my string into a Template without registering it at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions