We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0261491 commit c249e48Copy full SHA for c249e48
README.md
@@ -14,7 +14,7 @@ This project is a work in progress. Feedback is encouraged.
14
## Usage
15
```go
16
// setup batch function
17
-batchFn := func(ctx context.Context, keys []string) []*dataloader.Result {
+batchFn := func(ctx context.Context, keys []interface{}) []*dataloader.Result {
18
var results []*dataloader.Result
19
// do some aync work to get data for specified keys
20
// append to this list resolved values
0 commit comments