Skip to content

fix: Avoid name collisions in generated code (7.x)#2311

Merged
dcodeIO merged 2 commits into
protobufjs-v7.xfrom
patch/name-shadowing-7.x
Jun 9, 2026
Merged

fix: Avoid name collisions in generated code (7.x)#2311
dcodeIO merged 2 commits into
protobufjs-v7.xfrom
patch/name-shadowing-7.x

Conversation

@dcodeIO

@dcodeIO dcodeIO commented Jun 9, 2026

Copy link
Copy Markdown
Member

Backports the relevant parts of #2300 and #2302 to 7.x: prototype-independent own-property checks, $-prefixed field/oneof name rejection, and the rpcCall service wrapper change.

The substantially more invasive static-codegen naming-collision rewrite in #2302 is not backported.

@dcodeIO dcodeIO requested a review from alexander-fenster June 9, 2026 11:49
@dcodeIO dcodeIO merged commit 78a9576 into protobufjs-v7.x Jun 9, 2026
6 checks passed
@dcodeIO dcodeIO deleted the patch/name-shadowing-7.x branch June 11, 2026 00:11
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.

2 participants