diff --git a/Directory.Packages.props b/Directory.Packages.props index 3ded4c8..b1de294 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,7 +5,7 @@ 6.0.27 7.0.16 8.0.2 - 2.60.0 + 2.61.0 3.8.1 @@ -24,7 +24,7 @@ - + @@ -41,7 +41,7 @@ - + @@ -132,7 +132,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Source/Euonia.Domain/Events/DomainEvent.cs b/Source/Euonia.Domain/Events/DomainEvent.cs index 7829927..f8d8c74 100644 --- a/Source/Euonia.Domain/Events/DomainEvent.cs +++ b/Source/Euonia.Domain/Events/DomainEvent.cs @@ -17,7 +17,7 @@ public abstract class DomainEvent : Event, IDomainEvent public void Attach(IAggregateRoot aggregate) where TKey : IEquatable { - OriginatorId = aggregate.Id.ToString(); + OriginatorId = aggregate.Id?.ToString(); OriginatorType = aggregate.GetType().AssemblyQualifiedName; AggregatePayload = aggregate; } diff --git a/project.props b/project.props index 2036657..571fa37 100644 --- a/project.props +++ b/project.props @@ -1,6 +1,6 @@ - 8.1.22 + 8.1.23 damon Nerosoft Ltd. Euonia