Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/usecase/steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ There are a few reserved variables inside `ctx`:

`ctx.req` - Contains the use case request payload. Declared when running a use case.

`ctx.user` - Contains the information about the user authorized to run the use case. Declared at [authorize](/docs/usecase/features#authorize) function.

`ctx.ret` - Defines the use case result value.

`ctx.stop()` - Informs that the current step will be the last to be executed in the use case context, regardless the step result (Ok or Err).
Expand Down