Support for polymorphism
See original GitHub issueI’m adding support for polymorpishm via the use of an interface together with a SchemaKnownType
attribute.
This will result in a union with multiple records.
Just checking on how you are feeling about this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
OOP Concepts for Beginners: What is Polymorphism
Java supports two kinds of polymorphism. You can overload a method with different sets of parameters. This is called static polymorphism ...
Read more >Does Python support polymorphism
Yes, Python supports polymorphism. The word polymorphism means having many forms. Polymorphism is an important feature of class definition ...
Read more >How To Apply Polymorphism to Classes in Python 3
Polymorphism is the ability to leverage the same interface for different underlying forms such as data types or classes.
Read more >Polymorphism in Python
Polymorphism in python is widely applied in object-oriented python programming for a common function name that can be used for different types.
Read more >Polymorphism in Java
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dstelljes good questions!
After giving it some more thought, I don’t think I’m going the polymorphism route. It would work for in C#, but it would be really hard to get this going in say KSQL.
I’m now going to split up every concrete class in its own event. Much simpler and more supported. Feel free to continue on my fork if you want.
Closing for #43, which is how I think we’re going to want to implement this.