Skip to content

Commit

Permalink
Fix typo in demand control directive docs (#3124)
Browse files Browse the repository at this point in the history
Description for `@listSize` is missing a word.
  • Loading branch information
tninesling authored Aug 21, 2024
1 parent 1d14e32 commit b91e81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/federated-schemas/federated-directives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ directive @listSize(assumedSize: Int, slicingArguments: [String!], sizedFields:

The `@listSize` directive is used to customize the cost calculation of the [demand control feature](/router/executing-operations/demand-control/) of GraphOS Router.

In the static analysis phase, the cost calculator does not know how many entities will be returned by each list field in a given query. By providing an estimated list size for a field with `@listSize`, the cost calculator can produce a more accurate estimate the cost during static analysis.
In the static analysis phase, the cost calculator does not know how many entities will be returned by each list field in a given query. By providing an estimated list size for a field with `@listSize`, the cost calculator can produce a more accurate estimate of the cost during static analysis.

#### Configuring static list sizes

Expand Down

0 comments on commit b91e81a

Please sign in to comment.