Skip to content

Reflection Header grpc-reflection-js #2105

Open
@mbazos

Description

@mbazos

I am working with the graphql-mesh gRPC input handler and specifically with the gRPC reflection API as to get the protos dynamically from the gRPC service. My question is that we have several gRPC services and the reflection API requires to listen on the root path.

We use tools like grpcurl which have an option for a -reflect-header and then our infrastructure knows when it sees that header to route that request to a specific gRPC service. Here is an example of grpcurl using the -reflect-header:

grpcurl -reflect-header grpc-service:proto.MyGrpcService -d '{"name":  "mike"}' localhost:9090 proto.MyGrpcService/hello

My question is:

I am not sure if to accomplish this the underlying library grpc-reflection-js needs to support this first

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions