-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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(changelog): update simplified imports #13016
Conversation
fix(common): fair amount of packages were missing file imports/exports
Pull Request Test Coverage Report for Build 77ceff41-a6ad-4880-a176-83682d6633aa
💛 - Coveralls |
@@ -2,3 +2,4 @@ export * from './request-method.enum'; | |||
export * from './http-status.enum'; | |||
export * from './shutdown-signal.enum'; | |||
export * from './version-type.enum'; | |||
export * from './http-status.enum'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been added on line 2.
@@ -1 +1,2 @@ | |||
export * from './streamable-file'; | |||
export * from './interfaces'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to export all interfaces? Some might be internal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as of now, the ./interfaces/index.ts
has only public interfaces.
@@ -1 +1,13 @@ | |||
export * from './forward-ref.util'; | |||
export * from './assign-custom-metadata.util'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some util functions are not meant to be exported.. They're marked as internal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah
AFIAK those functions at utils
are for internal usage of @nestjs/common
. They must not be public like this.
Most of these missing imports are intentional (not a public API) |
Fastify expects uppercase and won't auto-add the HEAD method otherwise Closes nestjs#13016
fix(common): fair amount of packages were missing file imports/exports
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?
Issue Number: N/A
What is the new behavior?
Simplified exporting for missing files
Does this PR introduce a breaking change?
Other information
I also saw a bunch of other directories that are missing correct exporting, please let me know if that change will help you, so I will know I can continue with other directories 😉