public interface MergeFromRepository<T>
DSL
allowing to specify whether the aggregates should
be retrieved from a repository or created from a factory.Modifier and Type | Method and Description |
---|---|
T |
fromFactory()
Create the aggregates from their factory.
|
MergeFromRepositoryOrFactory<T> |
fromRepository()
Loads the aggregates from their repository.
|
MergeFromRepositoryOrFactory<T> fromRepository()
It uses the AggregateId
annotation on
the DTO to find the aggregate IDs.
T fromFactory()
It uses the FactoryArgument
annotation on
the DTO to find the factory method parameters.
Copyright © 2013-2018–2019 SeedStack. All rights reserved.