[PR #1480] Allow custom id generators to handle composite keys #9537

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

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

State: closed
Merged: No


Currently when using composite keys, any other id generation strategy than
NONE (assigned identifiers) is triggering an exception in ClassMetadataInfo.

This commit allows to use the CUSTOM strategy with composite keys, therefore
to allow a custom id generator to handle the composite key identifier
generation.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1480 **State:** closed **Merged:** No --- Currently when using composite keys, any other id generation strategy than NONE (assigned identifiers) is triggering an exception in ClassMetadataInfo. This commit allows to use the CUSTOM strategy with composite keys, therefore to allow a custom id generator to handle the composite key identifier generation.
admin added the pull-request label 2026-01-22 16:04:37 +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#9537