Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

One repository per aggregate root, and not one global repository. #96

Open
@MassimoC

Description

@MassimoC

You should have a repository per aggregate root, and not one global repository.
I think in this domain model, we currently have only one aggregate root, which would be Car

IMHO it makes no sense to have a method GetAllCustomizations; you'll rather retrieve the Customizations that are available per CarBodyType instead.

Actually, I'd create this model in a whole other fashion, but I do not know how 'free' you are to do so. I'd suggest to have an entity Car which has a property Brand and a property that reflects its type. That property should not be an entity itself as it is a value-type.
But that might be outside the scope of this project :)

_Originally posted by @fgheysels

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions