Hi,
I am new to DDD and I am finding this repo very helpful. Just curious about the way one to many relationship between book and patron is handled in DB in lending module.
BookOnHold (book_database_entity) entity has byPatron and holdPlacedAt which is a standard way of doing one to many relationship but there is also a PatronHolds (holds_database_entity) entity which pretty much has the same information. Can someone please explain what kind of pattern this is ? Isn't this just duplicating data in DB ?
Hi, I am new to DDD and I am finding this repo very helpful. Just curious about the way one to many relationship between book and patron is handled in DB in lending module. BookOnHold (book_database_entity) entity has byPatron and holdPlacedAt which is a standard way of doing one to many relationship but there is also a PatronHolds (holds_database_entity) entity which pretty much has the same information. Can someone please explain what kind of pattern this is ? Isn't this just duplicating data in DB ?