That’s a right question. For simplicity let me provide one related example:
We have shared queries - because domains want to preload things defined in other domain. Or sql-join with them. While subquery is defined inside domain A, it becomes part of the query in domain B and now domain B should also take care of initializing virtual field defaults. As result I need to put dynamic defaults in every domain that generates my struct indirectly via query.
And we can easily have dozens of functions that creates your struct directly or indirectly in a single domain of our big monolith.






















