Options for creating a GraphQL Query or Mutation.
ResolverOptions
<FieldOrOperation
<undefined
, SchemaToSilk
<TSchemaIO
, TOutput
>, InputSchemaToSilk
<TSchemaIO
, TInput
>, "query"
| "mutation"
>>.GraphQLFieldOptions
• TSchemaIO extends AbstractSchemaIO
• TOutput extends TSchemaIO
[0
]
• TInput extends InputSchema
<TSchemaIO
[0
]> = undefined
optional
deprecationReason:Maybe
<string
>
GraphQLFieldOptions
.deprecationReason
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:535
optional
description:Maybe
<string
>
GraphQLFieldOptions
.description
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:530
optional
extensions:Maybe
<Readonly
<GraphQLFieldExtensions
<any
,any
,any
>>>
GraphQLFieldOptions
.extensions
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:536
optional
input:TInput
packages/core/src/resolver/types.ts:161
optional
middlewares:Middleware
<FieldOrOperation
<undefined
,SchemaToSilk
<TSchemaIO
,TOutput
>,InputSchemaToSilk
<TSchemaIO
,TInput
>,"query"
|"mutation"
>>[]
packages/core/src/resolver/types.ts:65
resolve: (
input
) =>MayPromise
<InferPropertyType
<TOutput
,TSchemaIO
[2
]>>
• input: InferInputO
<TInput
, TSchemaIO
>
MayPromise
<InferPropertyType
<TOutput
, TSchemaIO
[2
]>>
packages/core/src/resolver/types.ts:162