mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
refactor: unify mediaserver chain data port
This commit is contained in:
@@ -131,11 +131,11 @@ Session. `app/db/adapters/` is the concrete persistence-adapter layer: it may
|
||||
depend on Application-owned Protocols, UoW/Session and Oper implementations.
|
||||
This deliberate dependency inversion is the only `DB implementation ->
|
||||
Application contract` direction; Application must remain free of DB imports.
|
||||
Migrated workflow, user, interaction, messaging, music and site Chain consumers use
|
||||
the named `get_chain_*_port()` functions from `app/application/chain/data.py`;
|
||||
they must not alias migration-time `*PortProxy` classes back to database Oper
|
||||
names. Those proxy classes remain compatibility boundaries while the other
|
||||
established Chain domains migrate independently.
|
||||
Migrated workflow, user, interaction, messaging, music, site and media-server
|
||||
Chain consumers use the named `get_chain_*_port()` functions from
|
||||
`app/application/chain/data.py`; they must not alias migration-time `*PortProxy`
|
||||
classes back to database Oper names. Those proxy classes remain compatibility
|
||||
boundaries while the other established Chain domains migrate independently.
|
||||
|
||||
### Adapter boundaries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user