[PR #1378] [DDC-3640] Feature to force-increment entity version #9439

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

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

State: closed
Merged: No


Status: Blocked waiting on #1380

  • Configuration mechanisms
    • Annotations
    • YAML
    • XML
  • Handle inheritance (JoinedSubclassPersister)
  • Avoid double-updating entities that have "real" changes
  • Fix separate bug in test-code so that build succeeds again (#1380)

The major use-case for this involves using certain entities as the versioned-gatekeepers for changes that don't directly live on the same entity. For example, using the version of a PurchaseOrder to control changes to any of its child PurchaseOrderLineItem objects.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1378 **State:** closed **Merged:** No --- Status: Blocked waiting on #1380 - [x] Configuration mechanisms - [x] Annotations - [x] YAML - [x] XML - [x] Handle inheritance (`JoinedSubclassPersister`) - [x] Avoid double-updating entities that have "real" changes - [x] Fix separate bug in test-code so that build succeeds again (#1380) The major use-case for this involves using certain entities as the versioned-gatekeepers for changes that don't directly live on the same entity. For example, using the version of a `PurchaseOrder` to control changes to any of its child `PurchaseOrderLineItem` objects.
admin added the pull-request label 2026-01-22 16:04:19 +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#9439