Skip to content

Conversation

alice-i-cecile
Copy link
Member

Objective

Solution

  • Find and replace get_multiple with get_many

This gives us consistency with std's new APIs rust-lang/rust#83608
@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Mar 31, 2022
@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Mar 31, 2022
@alice-i-cecile alice-i-cecile removed the S-Needs-Triage This issue needs to be labelled label Mar 31, 2022
@alice-i-cecile alice-i-cecile added this to the Bevy 0.7 milestone Mar 31, 2022
@alice-i-cecile
Copy link
Member Author

alice-i-cecile commented Mar 31, 2022

Adding to the 0.7 milestone as we already have Cart's approval of this change, and it's nice to avoid introducing pointless API breakage.

[3:13 PM] cart: I'm on board for this! (@alice 🌹 ). Shorter + consistent == good

@cart
Copy link
Member

cart commented Mar 31, 2022

bors r+

bors bot pushed a commit that referenced this pull request Mar 31, 2022
# Objective

-  std's new APIs do the same thing as `Query::get_multiple_mut`, but are called `get_many`: rust-lang/rust#83608

## Solution

- Find and replace `get_multiple` with `get_many`
@bors bors bot changed the title Rename get_multiple APIs to get_many [Merged by Bors] - Rename get_multiple APIs to get_many Mar 31, 2022
@bors bors bot closed this Mar 31, 2022
bors bot pushed a commit that referenced this pull request Apr 13, 2022
We missed a couple of these renames in #4384
aevyrie pushed a commit to aevyrie/bevy that referenced this pull request Jun 7, 2022
# Objective

-  std's new APIs do the same thing as `Query::get_multiple_mut`, but are called `get_many`: rust-lang/rust#83608

## Solution

- Find and replace `get_multiple` with `get_many`
aevyrie pushed a commit to aevyrie/bevy that referenced this pull request Jun 7, 2022
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

-  std's new APIs do the same thing as `Query::get_multiple_mut`, but are called `get_many`: rust-lang/rust#83608

## Solution

- Find and replace `get_multiple` with `get_many`
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants