NelmioApiDocBundle icon indicating copy to clipboard operation
NelmioApiDocBundle copied to clipboard

Fix detection of what groups to use if object is empty but has discriminator map metadata

Open pokhodenko opened this issue 3 years ago • 2 comments

When describing empty abstract class with JMS Discriminator map describer fails to compute groups correctly.

pokhodenko avatar Mar 15 '21 17:03 pokhodenko

I have logic for handling discriminator map in custom describer. If you are interested I can submit a PR to add this logic to JMSModelDescriber

pokhodenko avatar Mar 15 '21 18:03 pokhodenko

Good catch, thanks! If possible, could you add a small test case to ensure this is working correctly please?

GuilhemN avatar Mar 27 '21 22:03 GuilhemN

Closing this because of inactivity :)

DjordyKoert avatar Mar 06 '24 18:03 DjordyKoert