Join Slack
Communities
Powered by
How do you guys handle object serialization in the...
# announcements
i
Ianmedeiros
01/23/2020, 5:46 PM
How do you guys handle object serialization in the context of Sealed classes? This is a behaviour that we get for “free” with enums.
sealed.txt
k
Kroppeb
01/23/2020, 7:58 PM
What library is that?
i
Ianmedeiros
01/24/2020, 3:08 PM
It’s not a library.
Ianmedeiros
01/24/2020, 3:08 PM
I am displaying the problem
t
tseisel
01/27/2020, 8:46 AM
If you only have `object`s as subclasses, you could use an enum instead
i
Ianmedeiros
01/31/2020, 6:12 PM
Yeah, i simplified the problem, but the sealed class can have other things besides objects
Open in Slack
Previous
Next