[PR #6011] Use ClassMedatada#isIdGeneratorIdentity() instead of constant to add the ID on query #9820

Closed
opened 2026-01-22 16:05:30 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


It's quite handy when creating CUSTOM id generators that should also rely on AUTO_INCREMENT stuff (one can just extend the ClassMedatadaFactory and create a different instance of ClassMetadata that overrides that method).

**Original Pull Request:** https://github.com/doctrine/orm/pull/6011 **State:** closed **Merged:** Yes --- It's quite handy when creating CUSTOM id generators that should also rely on AUTO_INCREMENT stuff (one can just extend the `ClassMedatadaFactory` and create a different instance of `ClassMetadata` that overrides that method).
admin added the pull-request label 2026-01-22 16:05:30 +01:00
admin closed this issue 2026-01-22 16:05:30 +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#9820