-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Merged by Bors] - do not impl Component for Task #4113
Conversation
You're right, I did link the wrong PR in #4052 (review); the link should have been #2975. |
Oh I missed that was part of that PR! |
This is better as a standalone PR as it seems #2975 may take some time before it could be merged |
@@ -41,6 +41,9 @@ fn add_assets( | |||
commands.insert_resource(BoxMaterialHandle(box_material_handle)); | |||
} | |||
|
|||
#[derive(Component)] | |||
struct ComputeTransform(Task<Transform>); |
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.
FYI, I also did this is #4102.
bors r+ |
# Objective - `Task` are `Component`. - They should not. ## Solution - Remove the impl, and update the example to show a wrapper. #4052 for reference
Should this be considered a breaking change? |
# Objective - `Task` are `Component`. - They should not. ## Solution - Remove the impl, and update the example to show a wrapper. bevyengine#4052 for reference
# Objective - `Task` are `Component`. - They should not. ## Solution - Remove the impl, and update the example to show a wrapper. bevyengine#4052 for reference
Objective
Task
areComponent
.Solution
#4052 for reference