Interface IParameterOptionsWithQuerySource

Options for Parameter decorator, which defines the source of the paremeter as from query search parameter.

interface IParameterOptionsWithQuerySource {
    name?: Nilable<string>;
    source: Nilable<"query">;
    transformTo?: Nilable<ParameterDataTransformTo>;
}

Hierarchy

Properties

name?: Nilable<string>

The custom name of the query parameter.

source: Nilable<"query">

The name of the source.

transformTo?: Nilable<ParameterDataTransformTo>

A custom function, which transforms input data to a new format / type.

Generated using TypeDoc