Skip to content
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] - Optional .system(), part 4 (run criteria) #2431

Closed
wants to merge 1 commit into from

Conversation

Ratysz
Copy link
Contributor

@Ratysz Ratysz commented Jul 4, 2021

Objective

Solution

  • Slight change to RunCriteriaDescriptorCoercion signature and implementors.
  • Implement IntoRunCriteria for IntoSystem rather than System.
  • Remove some usages of .system() with run criteria in tests of stage.rs, to verify the implementation.

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Jul 4, 2021
@Ratysz Ratysz added A-Core Common functionality for all bevy apps C-Usability A simple quality-of-life change that makes Bevy easier to use and removed S-Needs-Triage This issue needs to be labelled labels Jul 4, 2021
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jul 6, 2021
@cart
Copy link
Member

cart commented Jul 8, 2021

bors r+

bors bot pushed a commit that referenced this pull request Jul 8, 2021
# Objective

- Continue work of #2398 and friends.
- Make `.system()` optional in run criteria APIs.

## Solution

- Slight change to `RunCriteriaDescriptorCoercion` signature and implementors.
- Implement `IntoRunCriteria` for `IntoSystem` rather than `System`.
- Remove some usages of `.system()` with run criteria in tests of `stage.rs`, to verify the implementation.
@bors bors bot changed the title Optional .system(), part 4 (run criteria) [Merged by Bors] - Optional .system(), part 4 (run criteria) Jul 8, 2021
@bors bors bot closed this Jul 8, 2021
@Ratysz Ratysz deleted the optional_system_pt4 branch July 8, 2021 07:43
ostwilkens pushed a commit to ostwilkens/bevy that referenced this pull request Jul 27, 2021
# Objective

- Continue work of bevyengine#2398 and friends.
- Make `.system()` optional in run criteria APIs.

## Solution

- Slight change to `RunCriteriaDescriptorCoercion` signature and implementors.
- Implement `IntoRunCriteria` for `IntoSystem` rather than `System`.
- Remove some usages of `.system()` with run criteria in tests of `stage.rs`, to verify the implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Core Common functionality for all bevy apps C-Usability A simple quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants