-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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] - Make boxed conditions read-only #7786
Conversation
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
If this lands in 0.10, it will have no breaking changes. |
Merging as trivial: this is obviously correct, and everything continues to compile. bors r+ |
# Objective The `BoxedCondition` type alias does not require the underlying system to be read-only. ## Solution Define the type alias using `ReadOnlySystem` instead of `System`.
Pull request successfully merged into main. Build succeeded:
|
# Objective The `BoxedCondition` type alias does not require the underlying system to be read-only. ## Solution Define the type alias using `ReadOnlySystem` instead of `System`.
Objective
The
BoxedCondition
type alias does not require the underlying system to be read-only.Solution
Define the type alias using
ReadOnlySystem
instead ofSystem
.