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

Add support for gRPC interceptors #1988

Open
parthea opened this issue Mar 20, 2024 · 0 comments
Open

Add support for gRPC interceptors #1988

parthea opened this issue Mar 20, 2024 · 0 comments
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@parthea
Copy link
Contributor

parthea commented Mar 20, 2024

interceptors are currently supported for REST transport. We should also add support for interceptors in gRPC to have feature parity between both transports.

class {{ service.name }}RestInterceptor:
"""Interceptor for {{ service.name }}.
Interceptors are used to manipulate requests, request metadata, and responses

Also see https://github.com/googleapis/python-spanner/blob/4da06a6a883c0513d7c80f9462c871b0a00a8f2b/google/cloud/spanner_v1/testing/database_test.py#L31-L35

@parthea parthea added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant