CQRS & Event Handlers
Command Query Responsibility Segregation pattern in Ever Gauzy.
Overview
Ever Gauzy uses the NestJS CQRS module for separating write operations (commands) from read operations (queries).
Commands
Defining a Command
export class AuthRegisterCommand implements ICommand {
constructor(public readonly input: IUserRegistrationInput) {}
}