Skip to content

Commit 54779a9

Browse files
authored
nullable enum
1 parent 69b697e commit 54779a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graph/GuidelinesGraph.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ but it is also open for future scenarios:
416416
</EnumType>
417417
```
418418

419+
Additionally speaking, depending on the situation, a nullable enum can very likely be avoided by adding a `none` member.
420+
419421
#### Flag Enums or Collection of Enums
420422

421423
In case an enum can have multiple values at the same time the tentation is to model the property as a collection of Enums:

0 commit comments

Comments
 (0)