I believe in most cases it should just work without the config around polymorphic type. In your config example you can also omit specification of the serializer for each subclass, since by default it uses class from the first parameter.
I believe in most cases it should just work without the config around polymorphic type. In your config example you can also omit specification of the serializer for each subclass, since by default it uses class from the first parameter.
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Stand with Ukraine! The loving XP husband and freelance Android/Kotlin engineer.