mirror of
https://github.com/bevyengine/bevy
synced 2025-01-08 03:08:55 +00:00
5289e18e0b
# Objective Fixes #15394 ## Solution Observers now validate params. System registry has a new error variant for when system running fails due to invalid parameters. Run once now returns a `Result<Out, RunOnceError>` instead of `Out`. This is more inline with system registry, which also returns a result. I'll address warning messages in #15500. ## Testing Added one test for each case. --- ## Migration Guide - `RunSystemOnce::run_system_once` and `RunSystemOnce::run_system_once_with` now return a `Result<Out>` instead of just `Out` --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Zachary Harrold <zac@harrold.com.au> |
||
---|---|---|
.. | ||
command_queue.rs | ||
component_constants.rs | ||
deferred_world.rs | ||
entity_ref.rs | ||
error.rs | ||
identifier.rs | ||
mod.rs | ||
reflect.rs | ||
spawn_batch.rs | ||
unsafe_world_cell.rs |