Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelGerr committed Apr 2, 2023
1 parent c5ff2ba commit 2472f86
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
namespace Thinktecture.ValueObjects;

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

Expand Down

0 comments on commit 2472f86

Please sign in to comment.