As you mentioned, you could create a SignupRequestHistory
aggregate which holds the status of the SignupRequest
and the date/time of the change.
The SignupRequest will contain a collection of SignupRequestHistory value object.
Before adding collections to your SignupRequest
you need to think of why you are doing it. You specified "no business invariants exist" which is the first indication the SignupRequest
probably does not need a collection of SignupRequestHistory
.
I don't know your exact domain but SignupRequestHistory
is probably not really part of it. It is not used to solve any business problem and is strictly for reporting/visual needs. What SignupRequestHistory
really represents is a domain event - a change of state in your domain. This leads me to believe you would benefit from Event Sourcing.
When using Event Sourcing all domain events an aggregate root raises are stored in sequence in an event store. Anytime the state of an aggregate is altered an event is raised which gets stored for future use. This gives you a history of all the different states an aggregate root was in. You can reconstruct the aggregate root by reading the events in sequence(an event stream) from the event store to any date/time in history to see what the aggregate root looked like at that time in history.
For reporting needs you can construct highly efficient view models using the various stored domain events.
Event Sourcing can be a lot of work up front. If you don't have a lot of time maybe going with the first approach is best. There are pros and cons to each method. You should definitely look into Event Sourcing in your spare time though.