Skip to content

Conversation

@Shatur
Copy link
Contributor

@Shatur Shatur commented Sep 28, 2025

Objective

I think "raw" is a leftover from old Entity methods where a raw u32 value was accepted. Since we pass a row now, I think it worth renaming.

Solution

I think "raw" is a leftover from old methods where a raw u32 value was
accepted. Since we pass a _row_ now, I think it worth renaming.

I also adjusted the comment since the generation can be zero now.
@Shatur Shatur added this to the 0.17 milestone Sep 28, 2025
@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Sep 28, 2025
@alice-i-cecile
Copy link
Member

I agree: this is much clearer and looks less like a typo.

Copy link
Member

@janhohenheim janhohenheim left a comment

Choose a reason for hiding this comment

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

Hehe good catch

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Sep 28, 2025
Merged via the queue into bevyengine:main with commit 9a3ba33 Sep 28, 2025
45 checks passed
mockersf pushed a commit that referenced this pull request Sep 28, 2025
# Objective

I think "raw" is a leftover from old Entity methods where a raw u32
value was accepted. Since we pass a _row_ now, I think it worth
renaming.

## Solution

- Adjusted a single letter in 2 methods 😅 
- While at it, adjusted the comment about generation since it can be
zero since #19121.
mockersf pushed a commit that referenced this pull request Sep 28, 2025
# Objective

I think "raw" is a leftover from old Entity methods where a raw u32
value was accepted. Since we pass a _row_ now, I think it worth
renaming.

## Solution

- Adjusted a single letter in 2 methods 😅 
- While at it, adjusted the comment about generation since it can be
zero since #19121.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants