You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it would work the way you've described in your sample though. They'd be more akin to a nested sealed subtype and would work functionally the same as this
I'm going to close this as wontfix, the example you've put forward doesn't actually make much practical sense as there's no way to decide which enum member to use in your example. Feel free to revisit if you have an idea.
We cannot get Moshi sealed to work correctly with enums that implement a sealed interface. We have the following example:
Does it support such cases?
The text was updated successfully, but these errors were encountered: