Skip to content

Conversation

@rafaelcepeda
Copy link
Collaborator

Changed code generation to ensure enum used as namespace are always marked as Sendable

Motivation:

Code that relies on grpc-swift-2 code generation capability cannot build with -require-explicit-sendable compiler flag.

Modifications:

Modified places where EnumDescription is built for namespace to include conformance with Sendable.

Result:

Generated code now works with -require-explicit-sendable compiler flag enabled.

@rafaelcepeda rafaelcepeda added the 🔨 semver/patch No public API change. label Dec 1, 2025
@rafaelcepeda rafaelcepeda requested a review from glbrntt December 1, 2025 19:43
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rafaelcepeda!

@glbrntt glbrntt merged commit 531924b into grpc:main Dec 2, 2025
49 checks passed
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