Skip to content

Commit 10d1589

Browse files
Update graph/patterns/evolvable-enums.md
Co-authored-by: Darrel <[email protected]>
1 parent 86b3dbd commit 10d1589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/patterns/evolvable-enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The solution here is to add a 'sentinel' member named ```unknownFutureValue``` a
1818

1919
---
2020

21-
- It is a best practice to include a ```unknownFutureValue``` value when the enum is initially introduced to allow flexibility to extend the enum during the lifetime of the API. Even if the API producer believes they have included all possible members in an enum it is still strongly recommended to include a ```unknownFutureValue``` member to allow for unforeseen future circumstances which may required extending the enum.
21+
- It is a best practice to include a ```unknownFutureValue``` value when the enum is initially introduced to allow flexibility to extend the enum during the lifetime of the API. Even if the API producer believes they have included all possible members in an enum it is still strongly recommended to include a ```unknownFutureValue``` member to allow for unforeseen future circumstances which may require extending the enum.
2222

2323
- This pattern must not be used in scenarios where an API consumer wants to use enum members that are not known to the API producer.
2424

0 commit comments

Comments
 (0)