Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Fastify route constraints #12496

Closed
1 task done
Fcmam5 opened this issue Oct 3, 2023 · 1 comment
Closed
1 task done

Support Fastify route constraints #12496

Fcmam5 opened this issue Oct 3, 2023 · 1 comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@Fcmam5
Copy link
Contributor

Fcmam5 commented Oct 3, 2023

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I want to use Fastify's route constraints

  @RouteConstraints({
    host: 'admin.example.com',
  })

Describe the solution you'd like

Add a new RouteConstraints decorator

Teachability, documentation, adoption, migration strategy

NA

What is the motivation / use case for changing the behavior?

This would cover more of Fastify's features and enriches platform-fastify APIs

Example repository:

https://github.com/Fcmam5/fastify-route-constraints-poc

@Fcmam5 Fcmam5 added needs triage This issue has not been looked into type: enhancement 🐺 labels Oct 3, 2023
@kamilmysliwiec
Copy link
Member

Let's track this here #12567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

2 participants