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

Use decorateReply #1

Closed
delvedor opened this issue Sep 10, 2017 · 0 comments
Closed

Use decorateReply #1

delvedor opened this issue Sep 10, 2017 · 0 comments

Comments

@delvedor
Copy link
Member

delvedor commented Sep 10, 2017

Hi, thank you for the module!
I think here you can use the decorateReply api, you will get way better performances! :)

https://github.com/fastify/fastify/blob/master/docs/Plugins-Guide.md#decorators


Edit:
Obviously the decorateReply should be used outside the hook handler ;)

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

No branches or pull requests

1 participant