Update LiteCqrs integration and documentation
CI / Backend (build + test) (push) Failing after 1m23s
CI / Frontend (lint + typecheck + build) (push) Successful in 36s

- Replaced references to local project connections with the NuGet package for LiteCqrs in multiple documentation files, ensuring clarity on dependency management.
- Updated architecture and backend conventions documentation to reflect the current state of the LiteCqrs library as a NuGet package, enhancing consistency across the project.
- Improved descriptions of CQRS implementation and command/query handling in the tech stack documentation, providing clearer guidance for developers.
This commit is contained in:
Leonid Pershin
2026-07-24 04:18:03 +03:00
parent b05b76f32f
commit 9925968e22
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -134,9 +134,9 @@ PnvPanel — backend на **ASP.NET Core (.NET 10)** по принципам **C
- **Команды** меняют состояние, возвращают `Result` / `Result<T>`; выполняются в транзакции (UnitOfWorkBehavior).
- **Запросы** только читают; могут ходить в БД проекциями (`Select` в DTO) без загрузки сущностей целиком.
- Диспетчер — `ISender` из [`LiteCqrs.Net`](https://github.com/mrleo1nid/LiteCqrs.Net) (собственная
лёгкая CQRS-библиотека, альтернатива MediatR с явным разделением Command/Query — сосед-репозиторий
в `D:\Github`, пока подключён `ProjectReference`'ом, не через NuGet): резолвит хендлер
команды/запроса из DI (dynamic-free кэшированный диспетчер) и прогоняет через pipeline behaviors.
лёгкая CQRS-библиотека, альтернатива MediatR с явным разделением Command/Query — NuGet-пакет,
версия закреплена в `Directory.Packages.props`): резолвит хендлер команды/запроса из DI
(dynamic-free кэшированный диспетчер) и прогоняет через pipeline behaviors.
Абстракции — `ICommand<T>`, `IQuery<T>`, `ICommandHandler<,>`, `IQueryHandler<,>`,
`IPipelineBehavior<,>` — все из `LiteCqrs`; PnvPanel-специфичные behaviors (`ValidationBehavior`,
`RequireActivationBehavior`, `UnitOfWorkBehavior`) и маркер `IRequiresActivation` остаются в