You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
There is a method public static User fromUserData(UserData ud) in the User class. I think that due to dependency concerns this function should not be there. If you get rid of it, the class User will have no external dependencies and it will remain pure. This would also be compatible with DDD.
But in general... great job with this example!
The text was updated successfully, but these errors were encountered:
Hi,
There is a method
public static User fromUserData(UserData ud)
in the User class. I think that due to dependency concerns this function should not be there. If you get rid of it, the class User will have no external dependencies and it will remain pure. This would also be compatible with DDD.But in general... great job with this example!
The text was updated successfully, but these errors were encountered: