graphql / graphql/dataloader

✨ [REQUEST]: Add examples for cacheKeyFn and cacheMap

Open
#315 2 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
13.4k
Forks
518
Avg merge
2d 4h
Merged PRs (30d)
2

Description

## What problem are you trying to solve?

The api documentation does not show how a different cacheMap or a custom cacheKeyFn should look like, for example if you have a composite keys.

## Describe the solution you'd like

Add more examples to the documentation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.