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

Restify Plugin Support #64

Open
7-happy opened this issue Jul 25, 2022 · 2 comments
Open

Restify Plugin Support #64

7-happy opened this issue Jul 25, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@7-happy
Copy link

7-happy commented Jul 25, 2022

good job !

my question is tha i am using restify (another nodejs framework),just wanna to know which plugin can i use ? thx!

@puzpuzpuz puzpuzpuz added the question Further information is requested label Jul 25, 2022
@puzpuzpuz
Copy link
Owner

Hi,

Restify's middlewares look very similar to Express' one, yet there might be a caveat. Each middleware is required to return the next() result which is not something cls-tracer's Express middleware does. But you could try it and, if it appears to be non-compatible, contribute Restify support.

@7-happy
Copy link
Author

7-happy commented Jul 26, 2022

Hi,

Restify's middlewares look very similar to Express' one, yet there might be a caveat. Each middleware is required to return the next() result which is not something cls-tracer's Express middleware does. But you could try it and, if it appears to be non-compatible, contribute Restify support.

thx for your reply, i will have a try~

@puzpuzpuz puzpuzpuz added the enhancement New feature or request label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants