overwrite discriminator settings in metadata if not present in parent class