Timeline for Does using the strategy pattern for persistence methods make it "okay" to include CRUD methods in a business object?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2017 at 14:32 | history | edited | TheCatWhisperer | CC BY-SA 3.0 |
added 156 characters in body
|
Apr 19, 2017 at 0:47 | comment | added | Aluan Haddad |
This is one reason why in my comment, I mentioned using a straight-up function for the persister, it is easy to stub out: new Entity(_ => {}) . It doesn't solve the problem but it makes testing easier.
|
|
Apr 18, 2017 at 18:17 | history | answered | TheCatWhisperer | CC BY-SA 3.0 |