Structs§
- Loader
- Batch loads values from some expensive resource, primarily intended for mitigating GraphQL’s N+1 problem.
Traits§
- Batch
Function - A
BatchFunctiondefines the method through which someLoadermay fetch batched data from some resource. TheBatchFunctionreceives a slice of keys that have been requested during theLoader’s most recent execution frame, and some user defined context struct.