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

Only allow one BrushTip per BrushCoat in interface #150

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

Only allow one BrushTip per BrushCoat in interface

BrushCoats with multiple or zero tips already failed validation. The intention was eventually to support multiple BrushTips per BrushCoat, but that plan has become disfavored, since the use case can be supported with multiple BrushCoats per BrushFamily.

The proto change is technically not backwards compatible, it changes the behavior of decoding old protos encoded with multiple BrushTips per BrushCoat from "fail validation" to "take the last one". However, such a structure wouldn't have worked previously anyways.

@copybara-service copybara-service bot force-pushed the test_733341500 branch 2 times, most recently from a9ff80b to 066504d Compare March 4, 2025 21:25
BrushCoats with multiple or zero tips already failed validation. The intention was eventually to support multiple BrushTips per BrushCoat, but that plan has become disfavored, since the use case can be supported with multiple BrushCoats per BrushFamily.

The proto change is technically not backwards compatible, it changes the behavior of decoding old protos encoded with multiple BrushTips per BrushCoat from "fail validation" to "take the last one". However, such a structure wouldn't have worked previously anyways.

PiperOrigin-RevId: 733341500
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