diff --git a/src/Qowaiv.Validation.DataAnnotations/Attributes/UniqueAttribute.cs b/src/Qowaiv.Validation.DataAnnotations/Attributes/UniqueAttribute.cs index 4ca26f3..7ebf39a 100644 --- a/src/Qowaiv.Validation.DataAnnotations/Attributes/UniqueAttribute.cs +++ b/src/Qowaiv.Validation.DataAnnotations/Attributes/UniqueAttribute.cs @@ -20,7 +20,7 @@ public UniqueAttribute(Type? comparer) /// Gets and set a custom . public IEqualityComparer EqualityComparer { get; } - /// True if all items in the collection are distinct, otherwise false. + /// True if null or all items in the collection are distinct, otherwise false. [Pure] public override bool IsValid(object? value) {