Skip to content

pub GraphInfo #20149

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

pub GraphInfo #20149

wants to merge 2 commits into from

Conversation

mrchantey
Copy link
Contributor

@mrchantey mrchantey commented Jul 15, 2025

IntoScheduleConfigs has the constraint T: Schedulable<Metadata = GraphInfo, GroupMetadata = Chain>. Making GraphInfo public allows external crates to implement blanket traits for any IntoSheduleConfigs:

pub struct ScheduleIntoMyTraitMarker;

impl<S, T, M> MyTrait<(ScheduleIntoMyTypeMarker, T, M)> for S
where
  S: 'static + Clone + IntoScheduleConfigs<T, M>,
  T: Schedulable<Metadata = GraphInfo, GroupMetadata = Chain>,
{
}

@mrchantey mrchantey added A-ECS Entities, components, systems, and events D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 15, 2025
@BD103 BD103 added D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 15, 2025
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 D-Trivial Nice and easy! A great choice to get started with Bevy 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.

3 participants