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

refactor remove multiple reflect metadata #1167

Merged

Conversation

jbpionnier
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 93.157% when pulling 457c57b on jbpionnier:refactor_remove_reflect_metadata into 098afe6 on nestjs:master.

@coveralls
Copy link

coveralls commented Oct 5, 2018

Pull Request Test Coverage Report for Build 1141

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 93.656%

Totals Coverage Status
Change from base Build 1136: -0.04%
Covered Lines: 2658
Relevant Lines: 2780

💛 - Coveralls

@marcus-sa
Copy link

marcus-sa commented Oct 5, 2018

reflect-metadata should be obsolete and only imported a single time by the user themselves in their entry file.
Every time the package gets imported, it'll override the global Reflect scope and remove all metadata, so if two packages depends on it and one of them imports it themselves, the other package won't be able to resolve the metadata they added.

@jbpionnier
Copy link
Contributor Author

ok... this is already better for Nest ?

@kamilmysliwiec kamilmysliwiec merged commit 40e9051 into nestjs:master Oct 17, 2018
@jbpionnier jbpionnier deleted the refactor_remove_reflect_metadata branch October 18, 2018 09:48
@lock
Copy link

lock bot commented Sep 24, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants