Skip to content

#4 add reserved 3 declaration to Property to guard against field reuse#17

Open
bibonix wants to merge 1 commit into
APN-Network:masterfrom
bibonix:fix-property-missing-reserved-3
Open

#4 add reserved 3 declaration to Property to guard against field reuse#17
bibonix wants to merge 1 commit into
APN-Network:masterfrom
bibonix:fix-property-missing-reserved-3

Conversation

@bibonix

@bibonix bibonix commented Jun 3, 2026

Copy link
Copy Markdown

Field 3 in the Property message was removed in an earlier revision but no reserved declaration was added. Without reserved 3, protoc and buf allow a future field to claim that number, which would silently corrupt wire data for any client serialized against the old schema.

Adding reserved 3; between country and ip blocks the number from being assigned to a new field and makes buf-breaking checks flag any attempt to reuse it.

No generated code changes; this is a schema-only fix. No build or test infrastructure exists in the repository yet (see #3), so the check is limited to manual protoc syntax validation.

Closes #4

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.

Property skips field 3 without a reserved declaration in pong.proto

2 participants