Skip to content

Add support for Doctrine mapped superclasses#1395

Open
dontub wants to merge 1 commit into
schmittjoh:masterfrom
dontub:doctrine-mapped-superclasses
Open

Add support for Doctrine mapped superclasses#1395
dontub wants to merge 1 commit into
schmittjoh:masterfrom
dontub:doctrine-mapped-superclasses

Conversation

@dontub
Copy link
Copy Markdown

@dontub dontub commented Mar 9, 2022

Q A
Bug fix? no
New feature? yes
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT

This PR adds support for the mapped superclasses feature of Doctrine: https://www.doctrine-project.org/projects/doctrine-orm/en/2.11/reference/inheritance-mapping.html

@goetas
Copy link
Copy Markdown
Collaborator

goetas commented Aug 6, 2022

I'm confused by this MR. The serializer should already be able to serialize/deserialize parent classes. can you please provide more info on what is the use case?

@dontub
Copy link
Copy Markdown
Author

dontub commented Aug 9, 2022

Properties in parent classes are not handled for Doctrine entities. Without the change DoctrineDriverTest fails when a mapped superclass is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants