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

is there a way to do custom hooks in fastify #907

Closed
RjManhas opened this issue Jul 23, 2023 · 2 comments
Closed

is there a way to do custom hooks in fastify #907

RjManhas opened this issue Jul 23, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@RjManhas
Copy link

is there a way to do custom hooks in fastify

like onhook 'customevent'

@RjManhas RjManhas added the help wanted Extra attention is needed label Jul 23, 2023
@Eomm
Copy link
Member

Eomm commented Jul 24, 2023

The quick answer is: no, there is not such feature.

What do you want to do?
What is missing from the actual request lifecycle hooks or application hooks?
Do you need an event emitter only? - just write a plugin that decorates the fastify instance

@simoneb
Copy link

simoneb commented Feb 5, 2024

this is a duplicate of #962

@jsumners jsumners closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants