Skip to content

Not compatible with fastify-swagger #8

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

Open
vunamhung opened this issue Oct 5, 2020 · 1 comment
Open

Not compatible with fastify-swagger #8

vunamhung opened this issue Oct 5, 2020 · 1 comment

Comments

@vunamhung
Copy link

Hello,
Thank you for nice plugin, I use it and it work fine with normal request, but it not work with fastify-swagger request.

This is bug

Converting circular structure to JSON
    --> starting at object with constructor 'Socket'
    |     property 'parser' -> object with constructor 'HTTPParser'
    --- property 'socket' closes the circle

It's better if you can have a option to exclude some routes.

@codeaholicguy
Copy link
Owner

It's such a nice idea @vunamhung, a PR is always welcome, we will discuss in the PR for the implementation detail.

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

2 participants