CQRS Implementation #1

Merged
Rene Nochebuena merged 4 commits from feature/cqrs-implementation into develop 2025-04-13 09:35:48 -06:00
No description provided.
Rene Nochebuena added 4 commits 2025-04-13 09:16:06 -06:00
Add Dispatcher implementation for CQRS pattern
Some checks failed
Go CI/CD / go-ci (push) Has been cancelled
3d2e5ec027
Introduced a Dispatcher to manage command, query, and event handlers in a thread-safe manner utilizing read-write mutexes. This includes handler registration and dispatching logic, error handling for unregistered handlers, and support for concurrent operations. Added comprehensive tests for handler registration, dispatching, and error scenarios.
Add error handling test cases for dispatcher
Some checks failed
Go CI/CD / go-ci (push) Has been cancelled
5bea19ecf1
Introduce error-producing handlers to test command, query, and event dispatch processes. Ensure proper error propagation when handlers encounter failures. Validate that expected errors are correctly returned in all scenarios.
Add test for DispatchEvent with error handling
All checks were successful
Go CI/CD / go-ci (push) Successful in 19m8s
0c1694c947
This commit introduces a new test, Test_DispatchEventWithError, to verify error handling when dispatching events. It ensures that the dispatcher properly returns an error when an event handler triggers one.
Update README with enhanced documentation and examples
All checks were successful
Go CI/CD / go-ci (push) Successful in 19m7s
Go CI/CD / go-ci (pull_request) Successful in 19m9s
672ab94042
Revamp README to include detailed usage examples, installation instructions, scientific benchmarks, and core CQRS/Event-Sourcing patterns. Improve explanation of StoneCQRS features and benefits, targeting clearer communication and user engagement.
Cloud Administrator approved these changes 2025-04-13 09:16:52 -06:00
Rene Nochebuena merged commit 4a8cbc0d29 into develop 2025-04-13 09:35:48 -06:00
Rene Nochebuena deleted branch feature/cqrs-implementation 2025-04-13 09:35:48 -06:00
Sign in to join this conversation.
No description provided.