Anyone used this mapping construct before? As far as I can tell, it is
incompletely defined. Unless I am missing something, it misses allowing to
map discriminator values to classes (meta-value).
What is more concerning that that is simultaneously allows re-defining the
discriminator type (meta-type).
Is this intentional for some reason?