Added support for enum.protocols feature
Addresses #171.
Creates a new enum.protocols option that is used to drive protocol conformance for enums of strings, which are the only currently supported enum variety. Currently does not do any of the redundant protocol stripping that entities.protocols does.
@liamnichols I believe this both addresses the test failures and your feedback. The PR suddenly got huge because I needed to regenerate snapshots, since protocols are sorted by name now.
@liamnichols any update on this?
Any update on this PR? I would like to add Sendable on enum like we can do on entities.protocols 🙏
Any update on this ?
I'll add my voice to the chorus here. It would be great to get this merged.
~~...although looking closer, I can see some reasons we wouldn't want this version of this feature. For one thing, why is enums expected to be a separate part of the config from entities? It should be parallel (at the same level as) protocols underneath entities, IMO.~~ (Ignore me here, I was just confused.)
Also, I'm not sure why this PR had to regenerate all those test results. That's probably something that should be figured out before this could get merged.
As I stated here, snapshots needed regeneration because of this change