Skip to content

Add debug checks for containers unexpectedly returning unknown values#1462

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_751068609
Apr 25, 2025
Merged

Add debug checks for containers unexpectedly returning unknown values#1462
copybara-service[bot] merged 1 commit intomasterfrom
test_751068609

Conversation

@copybara-service
Copy link

Add debug checks for containers unexpectedly returning unknown values

Returning unknowns directly from containers (list, map, struct, and optional) is not and has not been supported. In fact there are known areas where it is possible for unknowns to be silently ignored if they were returned. As such, adding debug checks to prevent accidental reliance.

@copybara-service copybara-service bot force-pushed the test_751068609 branch 7 times, most recently from 4ac8d56 to 21c5a82 Compare April 25, 2025 19:51
Returning unknowns directly from containers (list, map, struct, and optional) is not and has not been supported. In fact there are known areas where it is possible for unknowns to be silently ignored if they were returned. As such, adding debug checks to prevent accidental reliance.

PiperOrigin-RevId: 751529259
@copybara-service copybara-service bot merged commit 66bf5fa into master Apr 25, 2025
@copybara-service copybara-service bot deleted the test_751068609 branch April 25, 2025 20:02
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