Skip to content

Reframe get_components_mut note to add context#2331

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
alice-i-cecile:row-wise-data-access
Jan 12, 2026
Merged

Reframe get_components_mut note to add context#2331
alice-i-cecile merged 2 commits intobevyengine:mainfrom
alice-i-cecile:row-wise-data-access

Conversation

@alice-i-cecile
Copy link
Member

This note was well-written but excessively technical and dry.

I've rewritten it to better explain the story and importance of this seemingly innocuous bit of ECS work.

@alice-i-cecile alice-i-cecile added this to the Release 0.18 milestone Jan 12, 2026
@alice-i-cecile alice-i-cecile added A-News S-Needs-Review C-Editing Copyediting, rewording and polish. labels Jan 12, 2026
Copy link
Contributor

@hymm hymm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, but otherwise makes sense to me.

particularly for an API that's designed for convenience and often most attractive to newcomers.

In Bevy 0.18, we're finally introducing safe equivalents, in the form of [`EntityMut::get_components_mut`] and [`EntityWorldMut::get_components_mut`].
These methods allow you to access multiple mutable or imutable references to the components on a single entity.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
These methods allow you to access multiple mutable or imutable references to the components on a single entity.
These methods allow you to access multiple mutable or immutable references to the components on a single entity.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review Ready for a maintainer to consider for merging and removed S-Needs-Review labels Jan 12, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 12, 2026
Merged via the queue into bevyengine:main with commit f5f7370 Jan 12, 2026
10 checks passed
@alice-i-cecile alice-i-cecile deleted the row-wise-data-access branch January 12, 2026 19:48
Based-A pushed a commit to Based-A/bevy-website that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-News C-Editing Copyediting, rewording and polish. S-Ready-For-Final-Review Ready for a maintainer to consider for merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants