Skip to content

transport: add layer method to Endpoint#2710

Open
bouk wants to merge 1 commit into
grpc:masterfrom
bouk:bouk/boxedlayer
Open

transport: add layer method to Endpoint#2710
bouk wants to merge 1 commit into
grpc:masterfrom
bouk:bouk/boxedlayer

Conversation

@bouk

@bouk bouk commented Jun 30, 2026

Copy link
Copy Markdown

Motivation

Currently wrapping Endpoints in layers is possible but means you have to pass around clunky type aliases or redefine everything as a BoxService.

Solution

Since we already use a BoxService inside Connection we can use BoxLayer to add a layer method to Endpoint and support constructing a Channel with layers applied to it, without changing the public API

Currently wrapping Endpoints in layers is possible but means you have to
pass around clunky type aliases or redefine everything as a BoxService.

Since we already use a BoxService inside Connection we can use BoxLayer
to add a layer method to Endpoint and support constructing a Channel with
layers applied to it.
@bouk bouk force-pushed the bouk/boxedlayer branch from 1f68a69 to 2ca38e5 Compare June 30, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant