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

Remove '@_exported import GRPCCore' #2109

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Nov 8, 2024

Motivation:

We added '@_exported import GRPCCore' to transport modules to make it easier for users as it saves them from adding an import. On reflection we've our position on this has changed and the implicit dependency will likely make things less clear.

Modifications:

  • Remove exported import from in-proc transport
  • Update tutorials/examples to have explicit 'GRPCCore' imports

Result:

More explicit dependencies

Motivation:

We added '@_exported import GRPCCore' to transport modules to make it
easier for users as it saves them from adding an import. On reflection
we've our position on this has changed and the implicit dependency will
likely make things less clear.

Modifications:

- Remove exported import from in-proc transport
- Update tutorials/examples to have explicit 'GRPCCore' imports

Result:

More explicit dependencies
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Nov 8, 2024
@glbrntt glbrntt requested a review from FranzBusch November 8, 2024 10:03
@glbrntt glbrntt enabled auto-merge (squash) November 8, 2024 11:11
@glbrntt glbrntt merged commit 55e39fa into grpc:main Nov 8, 2024
44 of 45 checks passed
@glbrntt glbrntt deleted the v2/dont-re-export-core branch November 8, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants