Skip to content

Commit

Permalink
Update docs for AllowedValuesAttribute and Base64Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Nov 22, 2023
1 parent 62c571f commit d1ae1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tingle.Extensions.DataAnnotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Additional data validation attributes in the `System.ComponentModel.DataAnnotati

|AttributeName|Description|Remarks|
|--|--|--|
|`AllowedValuesAttribute`|Specifies that a data field value is allowed. When applied on an array, all its elements must be allowed.|Might present in .NET 8 hence be removed here once official.|
|`Base64Attribute`|Specifies that a data field value is a well-formed base 64 string.|Might present in .NET 8 hence be removed here once official.|
|`AllowedValuesAttribute`|Specifies that a data field value is allowed. When applied on an array, all its elements must be allowed.|Only for .NET 7 or older.|
|`Base64Attribute`|Specifies that a data field value is a well-formed base 64 string.|Only for .NET 7 or older.|
|`DateMustBeInTheFutureAttribute`|Specifies that a data field value is a date in the future.||
|`DateMustBeInThePastAttribute`|Specifies that a data field value is a date in the past.||
|`FiveStarRatingAttribute`|Specifies the decimal numeric range for the value of a data field must be between 0 and 5.||
Expand Down

0 comments on commit d1ae1ad

Please sign in to comment.