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 deprecated option to all types and fields for ncproxy v0 apis #1809

Conversation

katiewasnothere
Copy link
Contributor

@katiewasnothere katiewasnothere commented Jun 12, 2023

This PR updates the v0 api for ncproxygrpc and nodenetsvc with deprecated options on all message types and their fields. The goal of this change is to make it as apparent as possible that the v0 APIs are deprecated and callers should move to the v1 APIs.

According to the protobuf spec here, the deprecated option in most languages has no effect, though some languages it will produce compiler warnings.

This PR additionally updates the golangci.yml to ignore linter errors due to referencing the deprecated apis in cmd/ncproxy and tests.

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere katiewasnothere requested a review from a team as a code owner June 12, 2023 18:45
…ted ncproxy api use

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere katiewasnothere force-pushed the kabaldau/ncproxy_v0_deprecated_tag branch from 1f6009c to 46d8160 Compare June 12, 2023 19:45
@katiewasnothere katiewasnothere merged commit c197eb5 into microsoft:main Jun 12, 2023
@katiewasnothere katiewasnothere deleted the kabaldau/ncproxy_v0_deprecated_tag branch June 12, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants