Update documentation to always `default:` case open enums
ktoso opened this issue · comments
Konrad `ktoso` Malawski commented
We have a number of public enums that we switch over, and people SHOULD switch over.
Some of them have _PLEASE_DO_NOT_EXHAUSTIVELY_MATCH_THIS_ENUM_NEW_CASES_MIGHT_BE_ADDED_IN_THE_FUTURE
which is a workaround for the lack of "open" enums in Swift.
We should add more docs about this, and make sure our docs always switch with a default:
too
This is a workaround for https://forums.swift.org/t/extensible-enumerations-for-non-resilient-libraries/35900/36