Domain objects (aggregates and entities) are only exposing behavior and no dummy getter() or setter() methods. If I don't want to use an ORM in a repository which is capable of extracting internal state by means of reflection, then how a repository is supposed to get internal state of an aggregate?
How is a repository supposed to get internal state of an aggregate without ORM in DDD context?
domain driven design;repository