I'm developing a tournament management system that uses a mixture of CQRS/ES/DDD and basic CRUD. I've defined 2 bounded contexts so far: TeamManagement and TournamentManagement.
The TeamManagement bounded context does not use DDD and exposes basic CRUD operations to manage teams and their respective players. TournamentManagement BC is DDD based and contains all the logic related to creating schedules, entering scorecards, and assigning points based on the game result.
The thing I'm confused about is how would the TournamentManagement bounded context access the team and player data? Should I expose a service or do I duplicate data in both bounded contexts using events?
Aucun commentaire:
Enregistrer un commentaire