[PR #121] DDC-753 #7736

Closed
opened 2026-01-22 15:56:36 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


Hello all,

This patch is based on: DDC-753
http://www.doctrine-project.org/jira/browse/DDC-753

This patch is very similar to DDC-869
adds support for register a global custom repository class
Any classes would use that custom repository class, optionally overriding it using some maping (xml,php,annot)..

I need a suggestion on whether I should throw exceptions when the repository does not implement ObjectRepository.
I'm doing this in Configuration#setDefaultRepositoryClassName, may also be necessary in ClassMetadataInfo#setCustomRepositoryClass

What do you think about it?

Thanks ...

Best Regards,
Fabio B. SIlva

**Original Pull Request:** https://github.com/doctrine/orm/pull/121 **State:** closed **Merged:** Yes --- Hello all, This patch is based on: DDC-753 http://www.doctrine-project.org/jira/browse/DDC-753 This patch is very similar to DDC-869 adds support for register a global custom repository class Any classes would use that custom repository class, optionally overriding it using some maping (xml,php,annot).. I need a suggestion on whether I should throw exceptions when the repository does not implement ObjectRepository. I'm doing this in Configuration#setDefaultRepositoryClassName, may also be necessary in ClassMetadataInfo#setCustomRepositoryClass What do you think about it? Thanks ... Best Regards, Fabio B. SIlva
admin added the pull-request label 2026-01-22 15:56:36 +01:00
admin closed this issue 2026-01-22 15:56:36 +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#7736