Skip to content

Commit

Permalink
Unary step tip for loadMany
Browse files Browse the repository at this point in the history
  • Loading branch information
jemgillam committed Sep 26, 2024
1 parent 3bd66d5 commit 6138eba
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,11 @@ const friendshipsByUserIdCallback = (ids, { attributes }) => {

### Unary step usage

(a step that only ever represents one value, e.g. simple derivatives of `context()`, `fieldArgs`, or `constant()`)
:::info

A unary step is a step that only ever represents one value, e.g. simple derivatives of `context()`, `fieldArgs`, or `constant()`.

:::

In addition to the forms seen in "Basic usage" above, you can pass a second
step to `loadMany`. This second step must be a [**unary
Expand Down

0 comments on commit 6138eba

Please sign in to comment.