mhadaily / flutter-architecture-ddd

Flutter Architecture inspired by Domain Driven Design, Onion and Clean Architecture
http://bit.ly/ddd-flutter
398 stars 99 forks source link

[QUESTION] Best practices for shared models between domains? #6

Open fabricioloupias opened 4 years ago

fabricioloupias commented 4 years ago

Use case:

A user model needs to be in several modules. In this case, some domains would share the User.

Question:

Which, in your opinion, is the best solution to solve use cases in which several domains share the same model. Respecting architecture and without breaking responsibilities?