Updated .NET CQRS flow to .NET 6, bumped packages to the latest version
- Updated .NET CQRS flow to .NET 6, bumped packages to the latest version
- Moved to file-scoped namespaces.
- Refactored and simplified Subscription to all processing.
- Fixed bug in the ElasticSearchProjection processing: Entity wasn't getting from the database because of missing index name.
- Added tests for:
- adding product item,
- removing product item,
- confirming shopping cart.
- Added
StreamEvent
wrapper to pass event metadata (e.g. to support idempotency in the projections). - Updated
ElasticSearchProjection
to generically support idempotency. - Hidden generic
Publish
method inEventBus
, as it may be getting the wrong Type (e.g. base class instead of the exact one). It's also redundant to keep it public, as the object has a method. - Updated
SubscribeToAll
logic to not fail when it wasn't possible to deserialise even. - Removed test report workflow, as it's flaky and not adding much value.
- Disabled Test parallelization for API tests to not have deadlocks on starting subscription host.
See details in: #12