Skip to content


DDC-2951: [GH-931] Allow overriding getShortName() for discriminator map #3714

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of joshbuckley182:

Url: #931


This will allow the keys for entries in a generated discriminator map to be customised. E.g. to include namespace

For example, if I had more than one entity with the same name, but used for different purposes, I could customise getShortName to include the namespace (or indeed just return the class name with no modifications), which would allow them both to work.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-931] was closed:


Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.