Timeline for Should Value Objects be used inside the DTO?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 26 at 12:27 | comment | added | Ewan | i would say "need" its more that your approach seems to lack coherency. you have picked aspects of several solutions and are using them all. | |
May 26 at 10:10 | comment | added | Mercury | Thanks for your answer! Validation logic is not performed on client side. Everything should be validated on backend. So, if I understand your answer correctly - I need to use raw objects such as LocalDate(for birthdate), String(for email), validate it and then map it to domain objects that use Value Objects? | |
May 26 at 9:24 | history | edited | Ewan | CC BY-SA 4.0 |
added 264 characters in body
|
May 26 at 9:18 | history | answered | Ewan | CC BY-SA 4.0 |