I like that we can do this, but maybe a property on the enum itself would be nicer, and that without code generation (or lang support) seems really tricky to pull off.
That said, I really like this small addition makes if with enums so much nicer! <3
(is it worth adding @email@example.com ?)
@firstname.lastname@example.org If only we could extend all types, or all enums, etc... for such amazing extension capabilities that @SwiftLang@twitter.com has I sometimes miss this one.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!