Skip to content

Commit 4b9747e

Browse files
committed
Update readme.md
1 parent f588bc4 commit 4b9747e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ It leverages nullability information to make all non-nullable reference properti
2323

2424
### Dates
2525

26-
`DateTime`, `DateTimeOffset`, and `DateOnly` cannot be `MinValue`.
26+
`DateTime`, `DateTimeOffset`, and `DateOnly` cannot be `MinValue`. The logic being: if the absence of a value is valid, then make the member nullable.
2727

2828

2929
### Strings
3030

31-
String cannot be `String.Empty` or only white-space. The logic being: if the absence of text is valid, then make the member nullable. This helps since nullable is a first class strong type feature, where "string is empty or only white-space" is a runtime check.
31+
String cannot be `String.Empty` or only white-space. The logic being: if the absence of text is valid, then make the member nullable. This helps since nullable is a first class strong typed feature, where "string is empty or only white-space" is a runtime check.
3232

3333

3434
### Guids
@@ -38,7 +38,7 @@ Guids cannot be `Guid.Empty`.
3838

3939
### Lists/Collections
4040

41-
Lists and Collection cannot be empty if `ValidatorConventions.ValidateEmptyLists()` is called in a module initializer. The logic being: if the absence of any values is valid, then make the member nullable. This helps since nullable is a first class strong type feature, where "list contains no values" is a runtime check.
41+
Lists and Collection cannot be empty if `ValidatorConventions.ValidateEmptyLists()` is called in a module initializer. The logic being: if the absence of any values is valid, then make the member nullable. This helps since nullable is a first class strong typed feature, where "list contains no values" is a runtime check.
4242

4343

4444
## Usage

0 commit comments

Comments
 (0)