Results 260 comments of webDEVILopers

Would love to hear how the @AxonFramework deals with these kind of "value object from deserialized event payload without revalidating" issue. @abuijze Could you give us some feedback on this?...

Related to an older issue: * https://github.com/webdevilopers/php-ddd/issues/35 Thanks to @ocramius for his feedback: > fromArray_v2 all the way: I avoid public function __construct in my systems, as data structures have...

My current suggestions would be: ```php private function __construct() {} public static function fromString(string $name): FirstName { $name = NameNormalizer::withString($aName); $self = new self(); $self->validate(); $self->name = $name; return $self;...

Other options related to the library or framework you use could be versioning of events as suggested by @Mattin. Options would be: * Upcasting the event * Using a different...

At the bottom line a totally I agree with @AntonStoeckl here: > Upcasting imho is: Adding new information where old Events will be valid with a default. Or only changing...

> b) It's a new rule that should be enforced during the creation of _new_ events but can be ignored when _consuming_ them > => create a new VO that...

> But now your domain logic needs to know where your VO comes from to know whether it follows the new rules or not. That is the point! The domain...

> Please do not @ people who have not explicitly consented to it. Thanks. Sorry @udidahan for this faux-pas. Same for twitter. Just wanted to ask you for your feedback...

I took another look into "Practices of Domain-Driven Design" (@PPDDD) by @elbandit and @NTCoding. In chapter 19 p. _433_ there is a concrete example showing how to work with IDs...

Thanks for your thoughts @NTCoding ! I totally agree on your idea of different bounded context!. Currently the Contract is the `CoreDomain`. Not only does it implement time but also...