Skip to content

feat(grpc): SafeMetadata implementation (Fixes Ergonomics & Safety)#1450

Open
merchantmoh-debug wants to merge 237 commits intogetkyo:mainfrom
merchantmoh-debug:bounty/grpc-metadata-fix
Open

feat(grpc): SafeMetadata implementation (Fixes Ergonomics & Safety)#1450
merchantmoh-debug wants to merge 237 commits intogetkyo:mainfrom
merchantmoh-debug:bounty/grpc-metadata-fix

Conversation

@merchantmoh-debug
Copy link

This PR supercedes #1334.

It introduces SafeMetadata, an immutable, thread-safe wrapper around io.grpc.Metadata, solving the ergonomics issues blocking the original PR.

Key Changes:

  • Added kyo.grpc.SafeMetadata (Immutable Algebra).
  • Refactored RequestOptions, ClientCall, and ServerCallHandlers to use potentially-unsafe io.grpc.Metadata ONLY at the IO boundary.
  • Updated benchmarks to match new API.

Closes #390
/claim #390

@merchantmoh-debug
Copy link
Author

@steinybot @ghostdogpr - Solved. - Just need a review - any changes let me know. This one's been sitting untouched for too long. Glad I could get it off your guys bucket list.

@merchantmoh-debug
Copy link
Author

@fwbrasil @steinybot @carlosedp @nightscape

Requesting review. This resolves the bounty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gRPC Support

3 participants