Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changesets/feat_list_size_parsing_and_nested_paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Improve `@listSize` directive parsing and nested path support

Demand control cost calculation now supports:

- **Array parsing for `@listSize`:** List-size directives can use array-style parsing for sizing (e.g. list arguments).
- **Nested input paths:** Nested input paths are supported when resolving list size from query arguments.
- **Nested `sizedFields`:** The `sizedFields` argument on `@listSize` supports nested field paths for more accurate cost estimation.

These changes are backward compatible with existing schemas and directives.

By [@cmorris](https://github.com/cmorris) in https://github.com/apollographql/router/pull/8893
Loading