Closed jmank88 closed 1 month ago
Rebased muxer conflicts.
@tomhjp @VioletHynes Is someone available to consider this feature (or #251)? :pray:
Hey! This seems super reasonable. Thanks for raising this. I'll try and get somebody's eyes on this shortly.
When creating new clients and servers with a
type GRPCBroker
,grpc.ServerOption
s can be added when usingAccept(id uint32)
andAcceptAndServe(id uint32, s func([]grpc.ServerOption) *grpc.Server)
, butgrpc.DialOption
s cannot be added when usingDial(id uint32)
.This PR proposes adding a
DialWithOptions(id uint32, opts ...grpc.DialOption)
method.Note:
Dial
could be updated in place without affecting typical uses, but the signature change would still be breaking.(this is the approach proposed in #251)