Skip to content

Add deprecated option to all types and fields for ncproxy v0 apis#1809

Merged
katiewasnothere merged 2 commits intomicrosoft:mainfrom
katiewasnothere:kabaldau/ncproxy_v0_deprecated_tag
Jun 12, 2023
Merged

Add deprecated option to all types and fields for ncproxy v0 apis#1809
katiewasnothere merged 2 commits intomicrosoft:mainfrom
katiewasnothere:kabaldau/ncproxy_v0_deprecated_tag

Conversation

@katiewasnothere
Copy link
Copy Markdown

@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.

@katiewasnothere katiewasnothere requested a review from a team as a code owner June 12, 2023 18:45
@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