docs(requirements): split app registry row
Add explicit ring fields to derive_app requirements and split app registry singleton constraints without changing behavior. req: derive_app/001 req: derive_app/002
This commit is contained in:
+4
-1
@@ -1136,7 +1136,10 @@ async fn delete(app: State<App>, todo_id: TodoId) -> impl IntoEffect
|
||||
## derive_app
|
||||
|
||||
### req: derive_app/001
|
||||
001 `#[hemx::app(...)]` marks an application/root registry entry point and composes generated component handler modules into one app registry from the app state. There may be one registry per app/root type, and multiple runtime instances may exist per process. hemx does not require a process-global singleton or handwritten chains of per-component registration calls in canonical app code.
|
||||
0 001 `#[hemx::app(...)]` marks an application/root registry entry point and composes generated component handler modules into one app registry from the app state.
|
||||
|
||||
### req: derive_app/002
|
||||
0 002 There may be one registry per app/root type, and multiple runtime instances may exist per process; canonical app code avoids process-global singletons and handwritten per-component registration chains.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user