Interface: ArgsOptions
Defined in: packages/apollo/src/decorators/args.decorator.ts:6
Options for an argument.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
defaultValue? | unknown | Default value. | packages/apollo/src/decorators/args.decorator.ts:16 |
description? | string | Argument description. | packages/apollo/src/decorators/args.decorator.ts:14 |
name | string | Argument name. | packages/apollo/src/decorators/args.decorator.ts:8 |
nullable? | boolean | Whether the argument can be null. | packages/apollo/src/decorators/args.decorator.ts:12 |
type? | () => unknown | Function returning the type (for lazy loading and complex types). | packages/apollo/src/decorators/args.decorator.ts:10 |