v2.0.0-rc.3
Pre-release
Pre-release
lindyhopchris
released this
13 Oct 15:49
·
15 commits
to develop
since this release
Upgrading
composer require "cloudcreativity/ddd-modules:^2.0.0-rc.3"
Changelog
Added
- The result class now has a
Result::fail()
static method to create a failed result. This is an alias of the existingResult::failed()
method. - BREAKING The
Entity
interface (and therefore theAggregate
interface too) now has agetIdOrFail()
method on it. Although technically breaking, if you are using theIsEntity
orIsEntityWithNullableId
traits then this method is already implemented. - New
AggregateRoot
interface so that an aggregate root can be distinguished from a regular aggregate or entity.
Changed
- Remove deprecation message in PHP 8.4.
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3