On Sun, Jun 19, 2022, at 3:52 PM, David Bücher wrote:
> To avoid writing a function selecting the correct class for a 'type' value, I
> would like to create models using the parent class ('Employee') and 'type'
> instead of using the child class ('Manager', 'Engineer') in the first place.
To avoid writing a function selecting the correct class for a 'type' value,
I would like to create models using the parent class ('Employee') and
'type' instead of using the child class ('Manager', 'Engineer') in the
first place. I noticed that the resulting object is not of the respecting