hapijs / hapijs/hapi

Use ECMA Decorators for routing

Open
#4,546 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
14.8k
Forks
1.4k
Avg merge
22d 3h
Merged PRs (30d)
1

Description

### 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](https://github.com/mehl/hapi-ecma-decorators)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.