Skip to content

SpannerOptions: document how to pass in client gRPC options like client interceptors  #2206

@odeke-em

Description

@odeke-em

Please make sure you have searched for information in the following guides.

Documentation Request

Kindly please document how to pass in gRPC options and for example interceptors to the Spanner Client as they are very important to inject and assert on expectations like certain headers. I am rolling out x-goog-spanner-request-id support for all the major Cloud Spanner client libraries and for this client I have a PR started #2205 but it is quite a hairy situation to try to add client interceptors so for starters I am using the server interceptor with MockSpanner to verify expectations.

Kindly cc-ing @olavloite @surbhigarg92

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: spannerIssues related to the googleapis/nodejs-spanner API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions