-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
bugfix(core): Allow circular structures for dynamic module #678 #1142
bugfix(core): Allow circular structures for dynamic module #678 #1142
Conversation
759e1f3
to
3dd8b03
Compare
If this PR gets approved we should consider adding e2e test for this edge case. It was quite annoying to migrate my Nest 4 app to Nest 5. Luckily I am a member of this framework, so I directly knew where to look, but a normal user would have been lost. |
Thanks @BrunnerLivio, great job! Could you create an integration test in the |
@kamilmysliwiec I also had to install all the packages from the for D in integration/*; do [ -d "${D}" ] && npm i; done Is this the intended way? After I installed the dependencies and run
Are these tests even up to date? I think we really need a proper Contribution guide haha |
3dd8b03
to
bcab737
Compare
We've got ~80 integration tests, they all are up to date (running on each publish) :) Simply call |
bcab737
to
29b03e5
Compare
@kamilmysliwiec done Still did not got the graphql/mongoose test running because of the compile error, but I disabled them locally so I can work. |
29b03e5
to
958da96
Compare
@kamilmysliwiec can this be part of the 5.4.0 release? I saw this PR is not assigned to the 5.4.0. On purpose or not yet? My private project release is currently blocked because of this bug, so I'd warmly welcome this in the next release.. |
@BrunnerLivio it's gonna be 5.3.11 which will be published in less than 1h 😅 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
It does not support circular structures for dynamic modules
Issue Number: #678
What is the new behavior?
Supports circular structures for dynamic modules by replacing JSON.stringify with fast-safe-stringify which allows to stringify circular structures.
Does this PR introduce a breaking change?