Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

[UserRegistration] Take into account email confirmation in user registration process #318

@MateuszNaKodach

Description

@MateuszNaKodach

Blockers

  • None!

Subtasks

  • registerUser in user-registration/domain/registerUser.ts should now return only UserRegistrationWasStarted. Fix tests.
  • Add command CompleteUserRegistration.
  • Add new domain function completeUserRegistration.ts, which will return UserRegistrationWasCompleted for started registration.
  • Create command handler for CompleteUserRegistration.
  • Create automation slice WhenEmailConfirmationWasApprovedThenCompleteUserRegistration. Execute CompleteUserRegistration when EmailConfirmationWasApproved (confirmationFor must have value user-registration).

Event Modeling
MIRO: https://miro.com/app/board/o9J_lQvnN28=/?moveToWidget=3074457363395418540&cot=14

Need help how to implement automation?
Look for this task implementation: #282

Metadata

Metadata

Assignees

Labels

scope: 🛰 apiRequires changes in the api workspacetype: ✨ featAnother new, shiny thing we can have in our app

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions