Skip to content

ARC0003: External command handler

An undecorated class declares handle(command: DecoratedCommand). Rule: arc-core/arc0003 (requires type information).

Arc executes handle() on the command instance, not an external handler class. This rule checks a directly typed @command() class, not indirect aliases.

export class RegisterHandler { handle(command: Register) {} }
@command()
export class Register { handle() {} }