列出帖子的读侧查询处理器(经仓储端口·端口强制租户作用域)。
Read side goes through the repository port, which enforces the tenant scope (global-tenancy §9.3 / FR-5). The handler itself is tenant-agnostic by design.
分层对齐后:port 流领域实体,本 handler 将其逐项映射为传输投影 PostReadModel (游标信封经 createCursorPage 重建·hasMore/nextCursor 语义逐字不变)。
PostReadModel
createCursorPage
执行列表查询:走仓储端口取当前租户内分页,逐项映射为传输投影后重建游标信封。
列表查询(携游标分页请求)。
传输投影的游标分页信封。
列出帖子的读侧查询处理器(经仓储端口·端口强制租户作用域)。
Remarks
Read side goes through the repository port, which enforces the tenant scope (global-tenancy §9.3 / FR-5). The handler itself is tenant-agnostic by design.
分层对齐后:port 流领域实体,本 handler 将其逐项映射为传输投影
PostReadModel(游标信封经createCursorPage重建·hasMore/nextCursor 语义逐字不变)。