interface SerializeHandlerArguments<Input> {
    input: Input;
    request?: unknown;
}

Type Parameters

  • Input extends object

Hierarchy (view full)

Properties

Properties

input: Input

User input to a command. Reflects the userland representation of the union of data types the command can effectively handle.

request?: unknown

The user input serialized as a request object. The request object is unknown, so you cannot modify it directly. When work with request, you need to guard its type to e.g. HttpRequest with 'instanceof' operand

During the build phase of the execution of a middleware stack, a built request may or may not be available.