Skip to content

Commit 0d29af4

Browse files
committed
Revert "Made Entity.Id private init."
This reverts commit 8d46796.
1 parent f994d8e commit 0d29af4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

DomainModeling/DomainModeling.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ Misc:
7474
- Fix: Fixed bug where DummyBuilder generator struggled with nested types.
7575
- Fix: Fixed bug where "no source generation on nested type" warning would not show.
7676
- Enhancement: CompilerGeneratedAttribute throughout.
77-
- Enhancement: Entity.Id has private init.
7877
- Enhancement: DebuggerDisplay for Wrappers/Identities.
7978
- Enhancement: Analyzer warning clarity.
8079
- Enhancement: Improved correctness of trimming.

DomainModeling/Entity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public abstract class Entity<
8181
/// <summary>
8282
/// The entity's unique identity.
8383
/// </summary>
84-
public TId Id { get; private init; }
84+
public TId Id { get; }
8585

8686
/// <param name="id">The unique identity for the entity.</param>
8787
protected Entity(TId id)

0 commit comments

Comments
 (0)