bradleyjkemp/grpc-tools

grpc-fixture should match based on destination/authority

bradleyjkemp opened this issue · 0 comments

Some gRPC services (e.g. reflection API or server healthcheck/status) are implemented by multiple servers which can return different results.

grpc-fixture should be able to return different responses depending on the intercepted request destination.

At the moment I think the best solution is to add an "authority" field to the messageTree struct which can be matched on by the fixture interceptor.

Related: #1