google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

spanner: grpc.WithInsecure is deprecated

Open egonelbre opened this issue 1 year ago • 0 comments

The code and examples should use grpc.WithTransportCredentials(insecure.NewCredentials), otherwise people keep copy-pasting the deprecated code and using it in their codebase.

There are two parts to these fixes. One is the code that was manually written and then code that was automatically generated.

AFAIK, the upstream generators have been updated, but need to be run again.

egonelbre avatar Jun 05 '24 07:06 egonelbre