Skip to content
Snippets Groups Projects
Commit 64542d62 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[TASK] Decouple Dependency logic and domain models in EM

Both Domain\Model\Extension and Domain\Model\Dependency now have
factory methods to avoid using the ExtensionModelUtility to build
objects in an atomic state.

This marks the ExtensionModelUtility class obsolete, which resolved
dependencies and built Dependency objects.

The Dependency object is now not an AbstractEntity anymore, but more
of a type ValueObject.

However, since the Dependency object knows about the min/max version
constraints, this logic is now shifted into this class, making the
DependencyUtility much smaller in logic.

Resolves: #92547
Releases: master
Change-Id: I7116d0d2c4f0d08b4a503f48b75ab50bfc675d21
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66100


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent fcbfb045
Branches
Tags
Showing
with 628 additions and 826 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment