In DDD, I want to get data of child entity of his AggregateRoot in a property of AggregateRoot and work with the data of that child entity, But I don't know is it a good idea or not? Is it true that I access the child entity repository and get data from that in an AggregateRoot? Advanced thanks. For example I have 'order' AggregateRoot and it contains 'productId' and 'productType' and these properties are in AggregateRoot and came from 'product' child entity, and product has property named 'productType', how can Load data of productType in AggregateRoot?
I want to work and use data of an child entity in his AggregateRoot.