Update LiteCqrs integration and documentation
- 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:
@@ -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` остаются в
|
||||
|
||||
Reference in New Issue
Block a user