Skip to content

BrpRequest: remove jsonrpc field#23175

Open
SpecificProtagonist wants to merge 4 commits intobevyengine:mainfrom
SpecificProtagonist:brp-jsonrpc-field
Open

BrpRequest: remove jsonrpc field#23175
SpecificProtagonist wants to merge 4 commits intobevyengine:mainfrom
SpecificProtagonist:brp-jsonrpc-field

Conversation

@SpecificProtagonist
Copy link
Contributor

@SpecificProtagonist SpecificProtagonist commented Feb 28, 2026

Objective

BrpRequest includes a useless jsonrpc field that must always be set to "2.0". Remove it.

This change could also be made to BrpResponse, but that would be much more involved due to the serde(flatten) while also offering less benefit (as users need to create this struct less often).

I've not added a migration guide because no advice is needed to migrate.

Testing

Run the server + client example.

@SpecificProtagonist SpecificProtagonist added C-Usability A targeted quality-of-life change that makes Bevy easier to use A-Dev-Tools Tools used to debug Bevy applications. D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Dev-Tools Tools used to debug Bevy applications. C-Usability A targeted quality-of-life change that makes Bevy easier to use D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants