-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Feature Request
For the versioning I'm able to save "arrays" to the database and log the changes.
For the mongodb extension we have to use the collection type to save index arrays. This works.
The ReferenceMany will throw an configuration exception
"Cannot apply versioning to field [property] as it is collection in object -"
Both are collections. One working and the other one not.
In my case I store the reference by id. This is an array of ids in mongodb. On database level it is the same. An array in database with collection type in doctrine doument.
#[ODM\ReferenceMany(storeAs: "id" ...)]
Is there any chance to treat both cases the same to log also the changed ids of an ReferenceMany collection?