[PR #9316] Support readonly properties for read operations #11519

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

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

State: closed
Merged: Yes


This PR provides some testcases to check if the ORM handles readonly properties well for read operations. So far, it looks good except for lazy-loaded ManyToOne relations. Here, the proxy tries to unset readonly properties and fails.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9316 **State:** closed **Merged:** Yes --- This PR provides some testcases to check if the ORM handles `readonly` properties well for read operations. So far, it looks good except for lazy-loaded `ManyToOne` relations. Here, the proxy tries to unset `readonly` properties and fails.
admin added the pull-request label 2026-01-22 16:11:01 +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#11519