-
Notifications
You must be signed in to change notification settings - Fork 819
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
Change / Ban all usages of export * from ...
so that all exports (and imports) are explicit
#4186
Comments
Would also recommend doing this, we are facing several issues from these type of imports. |
I'd had a start at scripting this conversion back at #3976 (comment) |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
@dyladan I undid some of the notes you put into the issue title for I have been thinking about how to best go about this in SDK 2.0 from a practical standpoint and I think we should do this as much as we can on When a new export is added on My proposal: experienced contributors can do this wherever possible on |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
To add more clarity on the expectations of this issue, here is my understanding of what should be done:
Step 1 may be a single PR for the repo, or several smaller ones, which we are working through. |
Packages remaining to be updated in otel-js core repo after #4880 merges:
|
@JamieDanielson @dyladan if required I can pick this up. |
Thanks! We have actually now made the majority of changes for this particular issue, and are intentionally holding off on otlp exporter changes for a bit because of other refactoring currently underway with this issue. I should have written that comment when I last updated this issue and forgot. That said, if you see another usage in this repo of |
no problem. I thought @robbkidd might be busy with something else hence was unassigned. thanks. |
Because of the eslint rule added for "no-restricted-syntax", every remaining instance of "
|
Make all imports and exports explicit so that internal classes / objects etc are not inadvertently made public and become part of the public API.
The text was updated successfully, but these errors were encountered: