Skip to content

[Merged by Bors] - make ScheduleGraph::initialize public - #7723

Closed
jakobhellermann wants to merge 1 commit into
bevyengine:mainfrom
jakobhellermann:pub-schedule-graph-initialize
Closed

jakobhellermann wants to merge 1 commit into
bevyengine:mainfrom
jakobhellermann:pub-schedule-graph-initialize

Conversation

@jakobhellermann

Copy link
Copy Markdown
Contributor

follow-up to #7716

Objective

System access is only populated in System::initialize, so without calling initialize it's actually impossible to see most ambiguities.

Solution

  • make initialize public. The method is idempotent, so calling it multiple times doesn't hurt

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Feb 17, 2023
@alice-i-cecile

Copy link
Copy Markdown
Member

bors r+

bors Bot pushed a commit that referenced this pull request Feb 17, 2023
follow-up to #7716

# Objective

System access is only populated in `System::initialize`, so without calling `initialize` it's actually impossible to see most ambiguities.

## Solution


- make `initialize` public. The method is idempotent, so calling it multiple times doesn't hurt
@bors bors Bot changed the title make ScheduleGraph::initialize public [Merged by Bors] - make ScheduleGraph::initialize public Feb 17, 2023
@bors bors Bot closed this Feb 17, 2023
myreprise1 pushed a commit to myreprise1/bevy that referenced this pull request Feb 18, 2023
follow-up to bevyengine#7716

# Objective

System access is only populated in `System::initialize`, so without calling `initialize` it's actually impossible to see most ambiguities.

## Solution


- make `initialize` public. The method is idempotent, so calling it multiple times doesn't hurt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events 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.

2 participants