Is it okay to store a domain entity's mutable properties as a value object?
There are certain parts of my UserEntity that I would like to be able to change and pass around, and there are certain parts that should remain constant. For example, I NEVER want to change my UserEntity's id, but things like email or password may change often, and can be used by other objects outside of the UserEntity as well. One instance of this would be when creating a UserEntity. Since a UserEntity cannot exist without an id, my controller could create a UserData object that would standardize the UserEntity properties. After the mapper creates an entity in the db, it would create a new