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
Base has many more subclasses in addition and I use it as annotation in many places, so I would like to be able to register all subclasses of it to the converter. This works fine in the above example by e.g.
I am using the decorator pattern to create a decorator class
Decorated
from an abstract base classBase
.Base
has many more subclasses in addition and I use it as annotation in many places, so I would like to be able to register all subclasses of it to the converter. This works fine in the above example by e.g.However, I would now like to make
Decorated
generic on subclasses ofBase
:Now, when registering all subclasses of
Base
I get the errorThis happens at registration time, not at (un)structuring time.
Is this expected? Can this be mitigated/circumvented?
The text was updated successfully, but these errors were encountered: