Hi there!
In your project there is clear separation in controllers according to a domain objects. But what if some view in UI needs information of 2+ objects? Whats is the correct way of providing such behavior? I see such solutions:
- Send N queries from UI and add custom logic on front end
- Create view models on API Gateway level, call several services and return ready objects to the UI
What’s your opinion on that case?