[go: nahoru, domu]

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

spanner: grpc.WithInsecure is deprecated #10325

Open
egonelbre opened this issue Jun 5, 2024 · 0 comments
Open

spanner: grpc.WithInsecure is deprecated #10325

egonelbre opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
api: spanner Issues related to the Spanner API.

Comments

@egonelbre
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API.
Projects
None yet
Development

No branches or pull requests

2 participants