From 6138eba3ca98f76765e74c5b029335b856d8b93b Mon Sep 17 00:00:00 2001 From: Jem Gillam <6413628+jemgillam@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:28:35 +0100 Subject: [PATCH] Unary step tip for loadMany --- .../website/grafast/step-library/standard-steps/loadMany.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/grafast/website/grafast/step-library/standard-steps/loadMany.md b/grafast/website/grafast/step-library/standard-steps/loadMany.md index 6c2170e1d..d0b16c51a 100644 --- a/grafast/website/grafast/step-library/standard-steps/loadMany.md +++ b/grafast/website/grafast/step-library/standard-steps/loadMany.md @@ -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