edalorzo
10/14/2017, 11:34 PMdata class ChangePassword(val email: String, val password: String): Command
How do I customize the fields such that I can determine what happens when the value is set, for example, validate that the email follows a certain regex, or that the password has certain number of characters, etc. Any thoughts on how to do that?