Skip to content

Conversation

mcy
Copy link
Member

@mcy mcy commented Sep 26, 2025

This PR adds verification for the following features of a message set type:

  1. No fields.
  2. At least one extension range.
  3. Extensions are singular messages.

It also fixes message set number ranges to exclude 0x7fff_ffff, which is not part of the valid range.

This also fixes how we look up message_set_wire_format to be more robust (this also applies to allow_alias).

@mcy mcy requested a review from emcfarlane September 26, 2025 23:07
@mcy mcy enabled auto-merge (squash) September 29, 2025 21:28
@mcy mcy merged commit cff88c0 into main Sep 29, 2025
6 checks passed
@mcy mcy deleted the mcy/message-set branch September 29, 2025 21:33
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.

3 participants