ResolveField


 @ResolveField(propertyNameOrFunc?: string | ReturnTypeFunc<any>, typeFuncOrOptions?: ReturnTypeFunc<any> | ResolveFieldOptions, resolveFieldOptions?: ResolveFieldOptions)

Parameters

Option Type Description
propertyNameOrFunc string | ReturnTypeFunc

Optional. Default is undefined.

typeFuncOrOptions ReturnTypeFunc | ResolveFieldOptions

Optional. Default is undefined.

resolveFieldOptions ResolveFieldOptions

Optional. Default is undefined.

Returns

MethodDecorator