@@ -10,7 +10,7 @@ A term is listed only when there is a synonym to reject, or a meaning subtle eno
1010docs must agree on it. General programming vocabulary does not belong here, however heavily this
1111package uses it.
1212
13- The domain terms are ` modern-di ` 's — ` Container ` , ` Provider ` , ` Group ` , ` Scope ` , ` Resolution ` ,
13+ The domain terms are ` modern-di ` 's: ` Container ` , ` Provider ` , ` Group ` , ` Scope ` , ` Resolution ` ,
1414` Override ` . That project's ` CONTEXT.md ` is the authority for all of them; nothing here redefines
1515one. FastStream owns ` broker ` , ` subscriber ` , ` middleware ` , and ` StreamMessage ` , and this package
1616uses each in FastStream's sense. The three below are this package's own.
@@ -19,18 +19,18 @@ uses each in FastStream's sense. The three below are this package's own.
1919The ` Container ` handed to ` setup_di ` and stored on the app's ` ContextRepo ` ; ` fetch_di_container `
2020reads it back. By default its lifetime tracks the app's, reopened on startup and closed after shutdown;
2121with ` manage_lifespan=False ` the user opens and closes it instead.
22- _ Avoid_ : app container, app-scoped container — accurate but unnamed; the code calls it the root
22+ _ Avoid_ : app container, app-scoped container. Both are accurate but unnamed; the code calls it the root
2323container, and one of the two names has to win.
2424
2525** Request container** :
2626The child container the middleware builds for one message and closes when that message is done.
2727It is where a ` FromDI ` parameter resolves.
2828_ Avoid_ : message container, per-message container. It is built per message, but its name comes
29- from its scope — ` Scope.REQUEST ` — so that a reader can match it to modern-di's scope ladder.
29+ from its scope, ` Scope.REQUEST ` , so that a reader can match it to modern-di's scope ladder.
3030
3131** Message** :
3232FastStream's ` StreamMessage ` , and this integration's whole notion of a unit of work. It is the
33- ` Connection ` in modern-di's sense — the framework object a unit of work carries — which is why
33+ ` Connection ` in modern-di's sense ( the framework object a unit of work carries), which is why
3434` faststream_message_provider ` is a ` ContextProvider ` at ` Scope.REQUEST ` and why there is only ever
3535one connection type to derive a child scope from. ` REQUEST ` here names a scope band, never an HTTP
3636request; nothing in this package speaks HTTP.
0 commit comments