Open phillipsb22 opened 4 years ago
Thanks for the work you did. The aim is indeed to refactor the entity so that's it is always in a valid state and does not leak the implementation.
I would assume changing that must also have an impact (non trivial) on object hydration with Symfony Form as well as validation.
What are your thoughts with updating addresses? Are you wanting to create a new address each time? These updates will no longer work (src/Dto/AddressRequest.php:48).
Fix #217: Refactor the Address Entity.
Is this what you are looking for. If you would like to advise changes please do so. I am also open to doing the other entities