Skip to content

Commit 2c04b77

Browse files
author
Michael Vittorelli
committed
Mark IEntityWithDomainEvents<TId> as obsolete
1 parent e131323 commit 2c04b77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Vivarni.DDD.Core/IEntityWithDomainEvents.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23

34
namespace Vivarni.DDD.Core
45
{
@@ -21,5 +22,6 @@ public interface IEntityWithDomainEvents
2122
/// database. Such a mechanism is provided in <c>Vivarni.Domain.Infrastructure</c>.
2223
/// </summary>
2324
/// <seealso href="https://github.com/vivarni/vivarni.domain"/>
25+
[Obsolete("Replace the usage of this generic interface with the non-generic variant. Will be removed in future releases.")]
2426
public interface IEntityWithDomainEvents<TId> : IEntityWithDomainEvents { }
2527
}

0 commit comments

Comments
 (0)