File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 7171- Fix: Fixed bug where DummyBuilder generator struggled with nested types.
7272- Fix: Fixed bug where "no source generation on nested type" warning would not show.
7373- Enhancement: Generated types now have the CompilerGeneratedAttribute.
74+ - Enhancement: Entity.Id has private init.
7475- Enhancement: Nicer DebuggerDisplay of Wrappers/Identities.
7576- Enhancement: Generated struct Wrappers/Identities now generate NULLABLE comparison operators, to circumvent counterintuitive lifting behavior.
7677- Enhancement: Improved clarity of analyzer warnings, by stopping before subsequent problems occur.
Original file line number Diff line number Diff 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 ; }
84+ public TId Id { get ; private init ; }
8585
8686 /// <param name="id">The unique identity for the entity.</param>
8787 protected Entity ( TId id )
You can’t perform that action at this time.
0 commit comments