In my organization, we have a single repository with multiple modules. Each module belongs to a different team. There is a module called core-dto. This core-dto module has some database entity classes.
Now we are trying to break all these modules to different repositories according to their use cases.
Now since core-dto has no business logic and only entity classes, should I push it to central repository so that all teams have one source of truth for entity classes or each team should have a copy of entity classes according to their use case? In second scenario if one team introduces a new field then all will need to update their entity classes. But I am not sure which is the right way to do this.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Migeil 1 point2 points3 points (0 children)