|
The ground-works for this is addressed by my PR for OGM-526.
There I indeed mapped IDENTITY to automatically assigned object ids for MongoDB. The problem with AUTO is that it requires USE_NEW_ID_GENERATOR_MAPPINGS to be set to false, otherwise AUTO will be mapped to sequences (within ORM). All in all mapping IDENTITY in the suggested way feels like a good fit to me.
|