overwrite discriminator settings in metadata if not present in parent class
Merge pull request #1 from anho/discriminator-on-inherited-classes

overwrite discriminator settings in metadata if not present in parent cl...