DataBaseStorageController::basePropertyDefinitions() currently has them that way, but I don't know if this makes sense. Do other ORM/entity systems do that, or do they treat identity keys as separate concepts from properties?

Comments

fago’s picture

My take is that everything that get's stored with the entity has to be a property, so ids and uuids would have to be one as well. Looking at doctrine (tutorial) it also has a regular property for the id - it just adds some additional metadata to it.