I have 2 viewing modes, each of which has its own view.
The first view model has 3 properties displayed by the view:
PolicyProvider PolicyType PolicyNumber
the second representation model has only 1 property displayed by its representation:
TypeOfInvestmentFund
Between PolicyType and TypeOfInvestmentFund.
there is a ratio from 1 to many.
Both of these view models and their representations appear as user controls inside the parent form.
The options available for the TypeOfInvestmentFund depend on which PolicyType selected in another view .
It seems to me that these two viewing models can be combined because
a) they are clearly somewhat related
b) the controls are so small and simple that combining them will not create a complex and uncontrollable object.
However, this data is rather unrelated; that the user still wants the data to be visible in separate parts of the form (and therefore be placed on separate views).
I personally believe that combining these two presentation models and having two separate views to connect to them to display different parts is much less overhead, and then managing the relationship between the two objects.
I could create loosely coupled events with the Prism event aggregator, and although I have never done it, it is probably not much to handle, and keeping these two view models separately will save the difference in problems. In addition, if other controls appear in the development process that also need this information, I cannot absorb them, so starting the event aggregator at this stage will prevent further development, since the events will already be available for subscription. This is even more work, and then combining view models.
Which of these 2 is "more correct"? I understand his decision, but I canβt decide, so I am looking for opinions to help me decide.