Skip to content

Deprecate decorators #1574

@nknapp

Description

@nknapp

The decorator API currently exposes a good portion of internal Handlebars methods (like the container-object) that should not be part of the official API. This makes it difficult to write a formal specification and port this API to implementations in other programming languages.

In the next minor version of Handlebars, the API will be deprecated and warning messages will be written to the console, when attempting to register a decorator.

If you use decorators, please add a comment here so we can discuss alternatives.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions