Skip to content

Conversation

@StuartFerguson
Copy link
Member

This commit consolidates domain events under a unified namespace, TransactionProcessor.DomainEvents, enhancing code consistency and maintainability. The build and publish steps for NuGet packages have been updated to reflect this change, removing old domain-specific packages.

The TransactionProcessor.BusinessLogic layer has been modified to accommodate the new event structure, including updates to event handlers and command handling logic. Integration tests have been revised to ensure compatibility with the new structure.

Additionally, a new ContractAggregate class has been introduced, along with methods for managing contracts, products, and transaction fees. The ContractDomainEventHandler has been updated to handle contract-related events, and new tests have been added to verify the functionality of the contract domain service.

Overall, these changes streamline the codebase, improve clarity, and reduce redundancy, making it easier to manage and extend in the future.

This commit consolidates domain events under a unified namespace, `TransactionProcessor.DomainEvents`, enhancing code consistency and maintainability. The build and publish steps for NuGet packages have been updated to reflect this change, removing old domain-specific packages.

The `TransactionProcessor.BusinessLogic` layer has been modified to accommodate the new event structure, including updates to event handlers and command handling logic. Integration tests have been revised to ensure compatibility with the new structure.

Additionally, a new `ContractAggregate` class has been introduced, along with methods for managing contracts, products, and transaction fees. The `ContractDomainEventHandler` has been updated to handle contract-related events, and new tests have been added to verify the functionality of the contract domain service.

Overall, these changes streamline the codebase, improve clarity, and reduce redundancy, making it easier to manage and extend in the future.
@StuartFerguson StuartFerguson merged commit 29d04c5 into master Jan 31, 2025
5 checks passed
@StuartFerguson StuartFerguson linked an issue Jan 31, 2025 that may be closed by this pull request
@github-actions github-actions bot deleted the task/#687_move_over_contract_aggregate branch April 2, 2025 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Over Contract Aggregate

2 participants