I’ve created a class that is a dynamic class ( implements Dynamic< Dynamic > ),
This means i can now dynamically create fields on this class’s objects.
Now I want to create an Abstract class over that dynamic class - to create some @:to and @:from methods for implicit casting.
The problem is that now an instance of the abstract class does not allow Dynamic fields creation, and of course i cant write “implements” clause on an abstract class…
Is that even possible - to transfer the dynamic field creation property of the underlying class to the abstract class?
If you add @:forward annotation **without specifying what fields to forward **
to the class (bafore the “abstract” clause) it will transfer all fields including the dynamic feature.