Skip to main content

Interface: DtoPropOptions

Options for the DtoProp decorator.

Table of contents​

Properties​

Properties​

nullable​

• Optional nullable: boolean

Specifies if the property can be nullable in the GraphQL schema.

Defined in​

src/decorators/dtoProp.ts:13


type​

• Optional type: () => any

Specifies a custom type function for the property.

Type declaration​

▸ (): any

Specifies a custom type function for the property.

Returns​

any

Defined in​

src/decorators/dtoProp.ts:17