Skip to content

feat: Added fromParameters decorator. #421

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

Merged
merged 4 commits into from
Jun 12, 2025

Conversation

ShogunPanda
Copy link
Contributor

Adding support for the fromParameters decorator, which can be used to simulate a routing via fastify-http-proxy.

This is useful when you want to override the request URL.

Checklist

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny nit

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@Eomm Eomm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor doc suggestion

ShogunPanda and others added 2 commits June 12, 2025 14:10
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
@ShogunPanda
Copy link
Contributor Author

@Eomm Do you mind merging and releasing this if possible?

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 00bfe30 into fastify:main Jun 12, 2025
14 checks passed
@ShogunPanda ShogunPanda deleted the from-parameters branch June 13, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants