Skip to content

Commit 2472f86

Browse files
committed
Add comments
1 parent c5ff2ba commit 2472f86

File tree

1 file changed

+2
-1
lines changed
  • samples/Thinktecture.Runtime.Extensions.Samples/ValueObjects

1 file changed

+2
-1
lines changed

samples/Thinktecture.Runtime.Extensions.Samples/ValueObjects/EndDate.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
namespace Thinktecture.ValueObjects;
44

55
[ValueObject(DefaultInstancePropertyName = "Infinite",
6-
EqualityComparisonOperators = OperatorsGeneration.DefaultWithKeyTypeOverloads)] // for comparison with DateTime without implicit cast
6+
EqualityComparisonOperators = OperatorsGeneration.DefaultWithKeyTypeOverloads)] // for comparison with DateOnly without implicit cast
77
public readonly partial struct EndDate
88
{
9+
// Source Generator should work with the property "Date" only and ignore this backing field
910
[ValueObjectMemberIgnore]
1011
private readonly DateOnly? _date;
1112

0 commit comments

Comments
 (0)