Function to create a GraphQL Field.
FieldFactory
<TSchemaIO
>• TSchemaIO extends AbstractSchemaIO
FieldFactoryWithUtils<
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:254
hidden: typeof
FIELD_HIDDEN
Set fields to be hidden in GraphQL Schema
packages/core/src/resolver/types.ts:257