[PR #1561] [DDC-4006] Inherit ID generator strategy mapping from embeddables #9618

Open
opened 2026-01-22 16:04:52 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/1561

State: closed
Merged: Yes


Setting the ID generator strategy mapping when using embeddables as identifiers in entities has no effect and always results in the "NONE" strategy.

This is due to the ID generator strategy not being inherited to its parent entity when declared in an embeddable (ClassMetadataFactory).

**Original Pull Request:** https://github.com/doctrine/orm/pull/1561 **State:** closed **Merged:** Yes --- Setting the ID generator strategy mapping when using embeddables as identifiers in entities has no effect and always results in the "NONE" strategy. This is due to the ID generator strategy not being inherited to its parent entity when declared in an embeddable (ClassMetadataFactory).
admin added the pull-request label 2026-01-22 16:04:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9618