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

Make ConfigApiModule non-global #1365

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

fmrsabino
Copy link
Contributor

  • The ConfigApiModule was made Global to facilitate overriding this module in the tests (with a fake one).
  • Since NestJS now provides the ability to override modules based on the respective token, we should require the respective dependants to declare the need for it (increasing encapsulation).

- The `ConfigApiModule` was made Global to facilitate overriding this module in the tests (with a fake one).
- Since NestJS now provides the ability to override modules based on the respective token, we should require the respective dependants to declare the need for it (increasing encapsulation).
@fmrsabino fmrsabino self-assigned this Apr 4, 2024
@fmrsabino fmrsabino requested a review from a team as a code owner April 4, 2024 15:36
@fmrsabino fmrsabino merged commit 61ce0b2 into main Apr 5, 2024
16 checks passed
@fmrsabino fmrsabino deleted the remove-global-config-api-module branch April 5, 2024 09:32
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

Successfully merging this pull request may close these issues.

3 participants