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

Stop using package level API from CompressionAlgorithm #69

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Feb 3, 2025

Motivation:

An extension was accidentally using API with package access level from grpc-swift; this shouldn't compile and yet for some reason on Swift 6.0, it did (but not on nightly toolchains).

Modifications:

  • Change name to nameIfSupported and check against known supported values.

Result:

Not using package API from a different package

Motivation:

An extension was accidentally using API with package access level from
grpc-swift; this shouldn't compile and yet for some reason on Swift 6.0,
it did (but not on nightly toolchains).

Modifications:

- Change `name` to `nameIfSupported` and check against known supported
  values.

Result:

Not using package API from a different package
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Feb 3, 2025
@glbrntt glbrntt requested a review from gjcairo February 3, 2025 17:21
@glbrntt glbrntt enabled auto-merge (squash) February 3, 2025 17:22
@glbrntt glbrntt merged commit 30cbfdb into grpc:main Feb 3, 2025
24 of 28 checks passed
@glbrntt glbrntt deleted the avoid-package-api branch February 3, 2025 19:16
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