[PR #8795] Update session examples in docs #11174

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

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

State: closed
Merged: Yes


As mentioned in https://github.com/doctrine/orm/discussions/8766 the session-section in the docs needed an update that discourages the usage of an entity in the session just as not using the methods detach() and merge(). Because users tend to copy-paste code, I struggled a bit with simple low-line examples and tried to keep them small.

**Original Pull Request:** https://github.com/doctrine/orm/pull/8795 **State:** closed **Merged:** Yes --- As mentioned in https://github.com/doctrine/orm/discussions/8766 the session-section in the docs needed an update that discourages the usage of an entity in the session just as not using the methods `detach()` and `merge()`. Because users tend to copy-paste code, I struggled a bit with simple low-line examples and tried to keep them small.
admin added the pull-request label 2026-01-22 16:09:57 +01:00
admin closed this issue 2026-01-22 16:09:57 +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#11174