Skip to content

fix: Improve descriptor extension interoperability#2232

Merged
dcodeIO merged 2 commits into
masterfrom
patch/descriptor
May 9, 2026
Merged

fix: Improve descriptor extension interoperability#2232
dcodeIO merged 2 commits into
masterfrom
patch/descriptor

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented May 7, 2026

Improves ext/descriptor interoperability by fixing descriptor input handling for buffers/readers, preserving proto3_optional correctly, and reconstructing descriptor map fields as MapFields.

Also moves the descriptor extension one level up for better modern ESM/TypeScript consumption with .js import specifiers, keeps a backwards-compatible shim folder, and improves its TypeScript declarations. The declarations now properly augment the parent protobuf.js types when the descriptor extension is used.

@dcodeIO dcodeIO merged commit effbbc4 into master May 9, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request May 9, 2026
@dcodeIO dcodeIO deleted the patch/descriptor branch May 11, 2026 14:15
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