[Merged by Bors] - Remove unnecessary system labels#4340
Closed
DJMcNab wants to merge 2 commits intobevyengine:mainfrom
Closed
[Merged by Bors] - Remove unnecessary system labels#4340DJMcNab wants to merge 2 commits intobevyengine:mainfrom
DJMcNab wants to merge 2 commits intobevyengine:mainfrom
Conversation
| .add_system(print_components_read_only) | ||
| .add_system(print_components_iter_mut.after(print_components_read_only)) | ||
| .add_system(print_components_iter.after(print_components_iter_mut)) | ||
| .add_system(print_components_tuple.after(print_components_iter)) |
| // Since we are using `after`, `game_over_system` runs after `score_check_system` | ||
| MyStage::AfterRound, | ||
| game_over_system.after(MyLabels::ScoreCheck), | ||
| game_over_system.after(score_check_system), |
Member
There was a problem hiding this comment.
I agree on this change: public system labels deserve discussion elsewhere.
alice-i-cecile
approved these changes
Mar 26, 2022
Member
alice-i-cecile
left a comment
There was a problem hiding this comment.
Fully approve of these changes; this is much nicer.
jakobhellermann
approved these changes
Apr 1, 2022
mockersf
approved these changes
Apr 1, 2022
Member
|
bors r+ |
bors bot
pushed a commit
that referenced
this pull request
Apr 1, 2022
# Objective - Since #4224, using labels which only refer to one system doesn't make sense. ## Solution - Remove some of those. ## Future work - We should remove the ability to use strings as system labels entirely. I haven't in this PR because there are tests which use this, and that's a lot of code to change. - The only use cases for labels are either intra-crate, which use #4224, or inter-crate, which should either use #4224 or explicit types. Neither of those should use strings.
Contributor
aevyrie
pushed a commit
to aevyrie/bevy
that referenced
this pull request
Jun 7, 2022
# Objective - Since bevyengine#4224, using labels which only refer to one system doesn't make sense. ## Solution - Remove some of those. ## Future work - We should remove the ability to use strings as system labels entirely. I haven't in this PR because there are tests which use this, and that's a lot of code to change. - The only use cases for labels are either intra-crate, which use bevyengine#4224, or inter-crate, which should either use bevyengine#4224 or explicit types. Neither of those should use strings.
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this pull request
Feb 1, 2023
# Objective - Since bevyengine#4224, using labels which only refer to one system doesn't make sense. ## Solution - Remove some of those. ## Future work - We should remove the ability to use strings as system labels entirely. I haven't in this PR because there are tests which use this, and that's a lot of code to change. - The only use cases for labels are either intra-crate, which use bevyengine#4224, or inter-crate, which should either use bevyengine#4224 or explicit types. Neither of those should use strings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Solution
Future work