I am currently working on side project to get a feel of DDD, and I am wondering what would be the repository-ish component to get my value objects from.
In my marketplace bounded context, a Catalog is managed by a Merchant and contains Offers organized in Categories and Universes
here, my guess is that Merchant, Catalog and Universe would be Aggregate Roots because they have global identity in the system whereas Offer would be an Entity of the Catalog Aggregate and Category would be a Value Object acting like a tag on the offers.
Then I would have Repositories to act as a facade to persistence for the ARs, but I don't get how, regarding to DDD building blocks, I am to deal with the retrieval of Categories (a Merchant should be able to define the categories within his Catalog, and then use them to tag the offers he adds to it).
Could anyone provide some guidance ?
Thank you