Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 13, 2025

Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated.
This is for C++, Java, and Python.

@copybara-service copybara-service bot force-pushed the test_736676374 branch 6 times, most recently from c452f0f to 26634c7 Compare March 25, 2025 01:43
… checking whether a field is required or repeated.

This is for C++, Java, and Python.

PiperOrigin-RevId: 740152256
@copybara-service copybara-service bot merged commit 5bd7d02 into main Mar 25, 2025
@copybara-service copybara-service bot deleted the test_736676374 branch March 25, 2025 02:12
thomasvl added a commit to thomasvl/swift-protobuf that referenced this pull request Mar 25, 2025
This is the start of tracking the upstream changes to move away from Label and
the "optional" bit in there. See
protocolbuffers/protobuf#20687 for the start of it.

Update the comments on isRequired and isRepeated also.
thomasvl added a commit to apple/swift-protobuf that referenced this pull request Mar 25, 2025
This is the start of tracking the upstream changes to move away from
Label and the "optional" bit in there. See
protocolbuffers/protobuf#20687 for the start of
it.

Update the comments on isRequired and isRepeated also.
thomasvl added a commit to thomasvl/swift-protobuf that referenced this pull request Mar 25, 2025
thomasvl added a commit to apple/swift-protobuf that referenced this pull request Mar 25, 2025
thomasvl added a commit to thomasvl/swift-protobuf that referenced this pull request Mar 25, 2025
Add a second storage that can be used to avoid deprecation warnings from the
code within the file that does have to touch/inspect the value.

Finishes up tracking changes in protocolbuffers/protobuf#20687.
thomasvl added a commit to thomasvl/swift-protobuf that referenced this pull request Mar 25, 2025
Add a second storage that can be used to avoid deprecation warnings from the
code within the file that does have to touch/inspect the value.

Finishes up tracking changes in protocolbuffers/protobuf#20687.
thomasvl added a commit to apple/swift-protobuf that referenced this pull request Mar 25, 2025
Add a second storage that can be used to avoid deprecation warnings from
the code within the file that does have to touch/inspect the value.

Finishes up tracking changes in protocolbuffers/protobuf#20687.
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.

1 participant