Skip to content

Release v1.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:39
263a7aa

A command can declare its own name, which becomes the last segment of its route, so renaming or moving the module no longer changes the API.

Added

  • command "register-author" after use Arc.Command sets the command's route name, for example POST /api/authors/registering-authors/register-author. The name must be kebab-case, checked at compile time, and the descriptor exposes it as route_name.
  • ARCE0005 routes a command by its declared name, so two commands only collide when their effective routes do.

Changed

  • The declaration is optional: without it the route is still derived from the module name. The generated TypeScript class still takes its name from the module.