Function to create a GraphQL Field.
• TSchemaIO extends AbstractSchemaIO
FieldFactory<
TParent
,TOutput
,TInput
>(output
,resolveOrOptions
):FieldOrOperation
<SchemaToSilk
<TSchemaIO
,TParent
>,SchemaToSilk
<TSchemaIO
,TOutput
>,InputSchemaToSilk
<TSchemaIO
,TInput
>,"field"
>
Function to create a GraphQL Field.
• TParent extends object
• TOutput extends object
• TInput extends undefined
| object
| Record
<string
, TSchemaIO
[0
]> = undefined
• output: TOutput
• resolveOrOptions: FieldOptions
<TSchemaIO
, TParent
, TOutput
, TInput
> | (parent
) => MayPromise
<InferPropertyType
<TOutput
, TSchemaIO
[2
]>>
FieldOrOperation
<SchemaToSilk
<TSchemaIO
, TParent
>, SchemaToSilk
<TSchemaIO
, TOutput
>, InputSchemaToSilk
<TSchemaIO
, TInput
>, "field"
>
packages/core/src/resolver/types.ts:235