Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • Updated TransactionValidationServiceTests to include Shared.General and refactored constructor; removed several test methods for simplification.
  • Added new record type TransactionValidationResult<T> in ITransactionValidationService.cs for enhanced data handling.
  • Significant refactoring in TransactionValidationService.cs to improve validation methods and introduce generics for better type safety.
  • Updated IStateDispatcher and EventHandler interfaces to use the new Shared.EventStore.ProjectionEngine.State namespace.
  • Aligned StateProjectionEventHandler, ProjectionHandler, and IProjection interfaces with the new state management architecture.
  • Refactored MerchantBalanceState and State classes to inherit from the new state structure.
  • Updated VoucherState to ensure consistency across all state-related classes.

- Updated `TransactionValidationServiceTests` to include `Shared.General` and refactored constructor; removed several test methods for simplification.
- Added new record type `TransactionValidationResult<T>` in `ITransactionValidationService.cs` for enhanced data handling.
- Significant refactoring in `TransactionValidationService.cs` to improve validation methods and introduce generics for better type safety.
- Updated `IStateDispatcher` and `EventHandler` interfaces to use the new `Shared.EventStore.ProjectionEngine.State` namespace.
- Aligned `StateProjectionEventHandler`, `ProjectionHandler`, and `IProjection` interfaces with the new state management architecture.
- Refactored `MerchantBalanceState` and `State` classes to inherit from the new state structure.
- Updated `VoucherState` to ensure consistency across all state-related classes.
@StuartFerguson StuartFerguson merged commit 4e40c99 into master Dec 19, 2024
5 checks passed
@github-actions github-actions bot deleted the task/#606_txn_validation_service_refactor branch February 18, 2025 01:37
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.

Refactor the validation methods in TransactionValidationService

2 participants