public interface MergeFromRepositoryOrFactory<T>
DSLallowing to specify the behavior when aggregates cannot be found in the repository.
T orFail() throws AggregateNotFoundException
AggregateNotFoundExceptionif at least one aggregate cannot be loaded from their repository.
AggregateNotFoundException- if an aggregate cannot be retrieved from the repository.
Copyright © 2013-2018–2018 SeedStack. All rights reserved.