import { type LoadableGroupFieldOptions } from "https://deno.land/x/pothos@release-1721854018/packages/plugin-dataloader/mod.ts";
Type Parameters
Types extends SchemaTypes
Type extends OutputType<Types>
Nullable extends FieldNullability<[Type]>
Args extends InputFieldMap
definition: Omit<FieldOptionsFromKind<Types, ParentShape, [Type], Nullable, Args, Kind, Key, ResolveReturnShape>, InferredFieldOptionKeys | "type"> & { type: Type; byPath?: ByPath; load: () => Promise<readonly ShapeFromTypeParam<Types, Type, true>[]>; loaderOptions?: DataLoader.Options<Key, ShapeFromTypeParam<Types, Type, true>[], CacheKey>; group: (value: ShapeFromTypeParam<Types, Type, false>) => Key; resolve: Resolver<ParentShape, InputShapeFromFields<Args>, Types["Context"], Key, ResolveReturnShape>; }
keys: Key[],
context: Types["Context"],
args: false extends ByPath ? never : InputShapeFromFields<Args>,