feat(call): Add call request and response objects for internal generic API - #4
Open
sauravzg wants to merge 1 commit into
Open
feat(call): Add call request and response objects for internal generic API#4sauravzg wants to merge 1 commit into
sauravzg wants to merge 1 commit into
Conversation
This was referenced Jan 13, 2026
Owner
Author
|
This PR is part of a stack of 13 bookmarks:
Created with jj-stack |
This was referenced Jan 13, 2026
Open
Open
sauravzg
force-pushed
the
call_objects
branch
from
January 21, 2026 22:19
129a245 to
ab47c43
Compare
sauravzg
force-pushed
the
call_objects
branch
from
February 24, 2026 16:53
ab47c43 to
86de95d
Compare
sauravzg
force-pushed
the
method_handler_codegen_api
branch
from
February 24, 2026 16:53
17e457a to
775568a
Compare
…c API This change introduces data objects for the internal generic API. The primary objects are - RequestStream: which is essentially metadata + input stream - Lazy: It's a delayed computation struct that is responsible for holding a set of lazy transformations to be performed on a mutable ref to an object. This is needed to allow laze deserialization for cases like arena - ResponseWriter: A compile time state machine which guarantees the following potential states. "Trailer only" or "Metadata , Message* , Trailers" . This is achieved via compile time state transitions ensuring that's it's impossible to generate an incorrect order. The pain of having to implement these state transitions is simplified via extension API to to trivial maps. - MessageWrappers: Outgoing and Incoming wrappers to allow tweaking per read(input) and write options(output). - Known Pitfalls - Since, `Lazy` transformations are evaluated lazily, it's difficult to model complex transformations that need shared state without additional cost.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.