Skip to content

[Merged by Bors] - Rename get_multiple APIs to get_many#4384

Closed
alice-i-cecile wants to merge 2 commits into
bevyengine:mainfrom
alice-i-cecile:get_many
Closed

[Merged by Bors] - Rename get_multiple APIs to get_many#4384
alice-i-cecile wants to merge 2 commits into
bevyengine:mainfrom
alice-i-cecile:get_many

Conversation

@alice-i-cecile

Copy link
Copy Markdown
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

alice-i-cecile commented Mar 31, 2022

Copy link
Copy Markdown
Member Author

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

cart commented Mar 31, 2022

Copy link
Copy Markdown
Member

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