Skip to content

Commit 1cec7eb

Browse files
committed
improvements tp upcaster
1 parent 11e8cef commit 1cec7eb

8 files changed

Lines changed: 902 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 221 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,8 @@ path = "examples/session_defaults.rs"
8585
[dev-dependencies]
8686
testcontainers = "0.25.0"
8787
anyhow = "1"
88+
criterion = "0.5"
89+
90+
[[bench]]
91+
name = "upcasting"
92+
harness = false

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ let store = Store::builder(&url)
161161

162162
Once supplied, the registry is honored by `Store::events()`, aggregate repositories, projection APIs, and the projection daemon during reads.
163163

164+
Further reading:
165+
166+
- [`examples/upcasting.rs`](examples/upcasting.rs) – runnable sample with async lookups.
167+
- [UPCASTING.md](UPCASTING.md) – full migration guide and best practices.
168+
164169

165170
### Tenants health check
166171

0 commit comments

Comments
 (0)