Skip to content

feat: add aggregate decode limits - #211

Open
wemeetagain wants to merge 1 commit into
mainfrom
cayman/aggregate-decode-limits
Open

wemeetagain wants to merge 1 commit into
mainfrom
cayman/aggregate-decode-limits

Conversation

@wemeetagain

Copy link
Copy Markdown
Member

Add totalLimits to cap repeated fields and map entries across an entire decode or stream, including nested messages. Existing per-container limits keep their current behavior; codecs must be regenerated to use the new option.

Written primarily by Codex.

@wemeetagain
wemeetagain marked this pull request as ready for review October 8, 2026 15:51
@wemeetagain

Copy link
Copy Markdown
Member Author

Not wed to this solution or interface. I'm just hoping for a better way to bound nested repeated fields. (Gossipsub control messages) Otherwise it is a little unweidly.

This branch has not been deployed

No deployments
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