Skip to content

Use ECMA Decorators for routing #4546

Description

@mehl

Runtime

Node

Runtime version

Any

Module version

any

Used with

Hapi as Plugin

Any other relevant information

No response

What problem are you trying to solve?

Using ECMA style decorators for routing.

Do you have a new or modified API suggestion to solve the problem?

I just wondered if there is a plugin for modern ECMA decorators as implemented in esbuild 0.21+; I found only the plugin for the old experimental style decorators.

So I wrote my decorators on my own: GitHub repository

Is there any interest in turning this into a hapi plugin as public npm package?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions