Hey!
I have a simple boolean I need to return as part of a query.
The problem I have is that this true/false is determined by quite complex logic.
On the write side, it loads other aggregates and asks them to do some calculation also.
I'm adding the query model now, however I do not want to have multiple sources of truth for this logic.
I imagine the answer is projection - have this calculation happen when an event happens, and project it to the read side.
But at the moment, both command and query are using the same data source, and must stay like this for now.
Am I missing something?