Skip to content
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

Added Fallible System Params #7162

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
193c9de
Added Fallible System Params
JonahPlusPlus Jan 11, 2023
38ed79f
Made `SystemParamError` for optional params
JonahPlusPlus Jan 11, 2023
9103751
Cleaned up macro
JonahPlusPlus Jan 15, 2023
9916e6d
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Jan 15, 2023
9ba6e4f
Fixed long params
JonahPlusPlus Jan 15, 2023
c8b5b4d
Apply suggestions from code review
JonahPlusPlus Jan 15, 2023
f8e0c88
Docs, examples, and formatting
JonahPlusPlus Jan 16, 2023
cfcb278
Added another example and more docs
JonahPlusPlus Jan 18, 2023
30a1ea4
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Jan 18, 2023
197ba3c
clippy + fmt
JonahPlusPlus Jan 18, 2023
4a73f0e
Process examples + fmt
JonahPlusPlus Jan 18, 2023
d48cc6d
Added safety sections
JonahPlusPlus Jan 18, 2023
7ffcea8
More clippy!
JonahPlusPlus Jan 18, 2023
88e11db
Marked example system param as read-only
JonahPlusPlus Jan 18, 2023
fd93f23
Update resultful_system_param.rs
JonahPlusPlus Jan 18, 2023
e57b984
Update examples/ecs/resultful_system_param.rs
JonahPlusPlus Jan 18, 2023
8d306a6
Update optional_system_param.rs
JonahPlusPlus Jan 18, 2023
8f3afb9
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Jan 27, 2023
b440f52
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Feb 4, 2023
ffcb286
Update README.md
JonahPlusPlus Feb 5, 2023
6ed2e16
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Feb 5, 2023
958989d
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Feb 10, 2023
b2c69c1
Fix doc links
JonahPlusPlus Feb 10, 2023
d55a30b
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Feb 27, 2023
b88554e
Merge branch 'main' into fallible_system_params
JonahPlusPlus Feb 27, 2023
7f4115a
Removed unused imports
JonahPlusPlus Feb 27, 2023
c0c0f91
cargo fmt
JonahPlusPlus Feb 27, 2023
38f979c
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Mar 17, 2023
8dd5ddf
Merge branch 'main' into fallible_system_params
JonahPlusPlus Mar 17, 2023
d4a36d0
Updated to fit new changes
JonahPlusPlus Mar 17, 2023
178cf93
Fixed examples
JonahPlusPlus Mar 17, 2023
cf937eb
Fixed example and updated docs
JonahPlusPlus Mar 17, 2023
6c6c372
Fixed missing safety section
JonahPlusPlus Mar 17, 2023
41e8f44
Add extra documentation
JonahPlusPlus Mar 18, 2023
9c063ad
cargo fmt
JonahPlusPlus Mar 18, 2023
83fe010
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Mar 18, 2023
a81e0cb
Updated to new systems API
JonahPlusPlus Mar 18, 2023
1e1d182
Updated startup system to new API
JonahPlusPlus Mar 18, 2023
6efde68
Merge remote-tracking branch 'upstream/main' into fallible_system_params
JonahPlusPlus Mar 21, 2023
5eba41f
Change back to parse_quote
JonahPlusPlus Mar 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,16 @@ description = "Shows how to iterate over combinations of query results"
category = "ECS (Entity Component System)"
wasm = true

[[example]]
name = "optional_system_param"
path = "examples/ecs/optional_system_param.rs"

[package.metadata.example.optional_system_param]
name = "Optional System Parameter"
description = "Provides an advanced pattern for working with trait object resources via `OptionalSystemParam`"
category = "ECS (Entity Component System)"
wasm = false

[[example]]
name = "parallel_query"
path = "examples/ecs/parallel_query.rs"
Expand All @@ -1099,6 +1109,16 @@ description = "Query for entities that had a specific component removed earlier
category = "ECS (Entity Component System)"
wasm = false

[[example]]
name = "resultful_system_param"
path = "examples/ecs/resultful_system_param.rs"

[package.metadata.example.resultful_system_param]
name = "Resultful System Parameter"
description = "Provides an advanced pattern for encapsulating simple behavior with `ResultfulSystemParam`"
category = "ECS (Entity Component System)"
wasm = false

[[example]]
name = "run_conditions"
path = "examples/ecs/run_conditions.rs"
Expand Down
Loading