Replace MethodInfo with Descriptor Types. We plan on adding these types to @bufbuild/protobuf. We can remove the types once that is done.
This also makes the types stricter, transport will now only accept unary descriptors for unary and streaming descriptors for stream methods. Likewise the interceptor types are also stricter.
Replace MethodInfo with Descriptor Types. We plan on adding these types to
@bufbuild/protobuf
. We can remove the types once that is done.This also makes the types stricter, transport will now only accept unary descriptors for
unary
and streaming descriptors forstream
methods. Likewise the interceptor types are also stricter.