pub fn execute_signup<R>(repo: &mut R, cmd: SignUpUser) -> HexResult<User>Expand description
Application helper that executes the signup flow.
- Validates the directive
- Ensures email is unique
- Creates and persists a new user
pub fn execute_signup<R>(repo: &mut R, cmd: SignUpUser) -> HexResult<User>Application helper that executes the signup flow.