-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Renamed RenderInstance trait to ExtractInstance #10065
chore: Renamed RenderInstance trait to ExtractInstance #10065
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
Is this a breaking change relative to Bevy 0.11? |
@alice-i-cecile no. It's new API that was added to @jancespivo - The |
It shouldn't be. This is "only" renaming of types introduced in #10002 |
@superdump ok, sorry for rushing from my side. If it is more comfortable to have a discussion in the issue, let's move there. This is just quick and dirty renaming done in 2 minutes, so no problem for me. Feel free to close this PR :) |
I don't have any opinion on the naming. Feel free to rename. |
85d0fcd
to
4afd3e4
Compare
struct Body;
impl ExtractInstance for Body {
type Query = Read<ArHeadset>;
type Filter = ();
fn extract(item: QueryStuff) -> Self {}
}
pub struct ExtractedInstances<T>;
pub struct ExtractInstancePlugin; FYI, this was the consensus naming on Discord. |
1b0f89c
to
211ed32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving but please don't merge until #9258 is done to avoid creating conflicts in a big PR.
211ed32
to
260db53
Compare
) # Objective Fixes [bevyengine#10061] ## Solution Renamed `RenderInstance` to `ExtractInstance`, `RenderInstances` to `ExtractedInstances` and `RenderInstancePlugin` to `ExtractInstancesPlugin`
) # Objective Fixes [bevyengine#10061] ## Solution Renamed `RenderInstance` to `ExtractInstance`, `RenderInstances` to `ExtractedInstances` and `RenderInstancePlugin` to `ExtractInstancesPlugin`
Objective
Fixes [#10061]
Solution
Renamed
RenderInstance
toExtractInstance
,RenderInstances
toExtractedInstances
andRenderInstancePlugin
toExtractInstancesPlugin