googleapis / googleapis/google-cloud-swift
suppress warnings about deprecated fields and enum values
- Dominant language
- Swift
- Stars
- 26
- Forks
- 10
- Avg merge
- 12h 56m
- Merged PRs (30d)
- 211
Description
The source protos (or discovery docs) may have deprecated fields, enum values, enums, methods, or even full services.
We carry the deprecation annotations to the Swift code, so our customers can receive a warning if they use the deprecated things.
Our generated code also uses these values and fields, in case we receive them from the wire, or somebody uses them.
The latter usage produces warnings. I would like to suppress these warnings.
Contributor guide
Research direction
The issue does not name a file or test; start by locating the generated Swift code that references deprecated fields, enum values, enums, methods, or services, and identify how deprecation annotations are emitted. Confirm the current compiler warnings and determine how generated-code usage can be suppressed without removing customer-facing deprecation warnings. Done means those internal warnings no longer appear while deprecated API use still warns customers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100