Skip to content

[Merged by Bors] - Optional .system(), part 4 (run criteria)#2431

Closed
Ratysz wants to merge 1 commit intobevyengine:mainfrom
Ratysz:optional_system_pt4
Closed

[Merged by Bors] - Optional .system(), part 4 (run criteria)#2431
Ratysz wants to merge 1 commit intobevyengine:mainfrom
Ratysz:optional_system_pt4

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 core C-Usability A targeted 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

C-Usability A targeted 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