Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use metadata to create gRPC client #5836

Open
irux opened this issue Aug 15, 2023 · 0 comments
Open

Use metadata to create gRPC client #5836

irux opened this issue Aug 15, 2023 · 0 comments

Comments

@irux
Copy link

irux commented Aug 15, 2023

Is your feature request related to a problem? Please describe.

Right now the gRPC client is not using the metadata for listing the services.

https://github.com/redhoyasa/grpc-reflection-js/blob/master/src/client.ts#L17

https://github.com/Urigo/graphql-mesh/blob/master/packages/handlers/grpc/src/index.ts#L101

This cause that listing endpoints that needs the metadata fail.

I would like to allow the client to send the metadata when it is listing the services.

Describe alternatives you've considered

I am not an expert in gRPC but it seems that adding the metadata to the constructor should solve the problem. Maybe someone with more experience with gRPC and the graph-mesh project could know better.

This was referenced Apr 30, 2024
This was referenced May 7, 2024
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

No branches or pull requests

1 participant