Skip to content

Commit c858663

Browse files
committed
reorder!
1 parent f93f369 commit c858663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/tutorials/whats-new-in-graphql-js-v17.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
## New API features
3939

40+
- New support for resolver functions returning async iterables.
4041
- New `validateExecutionArgs()`, `executeQueryOrMutationOrSubscriptionEvent()`, or `experimentalExecuteQueryOrMutationOrSubscriptionEvent()` helpers are available to perform GraphQL argument evaluation and/or manipulation and then manually continue with execution.
4142
- New `perEventExecutor` option allows specification of a custom executor for subscription source stream events, with the default option set to new helper `executeSubscriptionEvent()`.
4243
- New `abortSignal` option to `graphql()`, `execute()`, and `subscribe()` allows cancellation of these methods; the `abortSignal` can also be passed to field resolvers to cancel asynchronous work that they initiate.
@@ -47,7 +48,6 @@
4748
- New utilities `validateInputValue()` and `validateInputLiteral()` can be used to validate input values and literals, respectively.
4849
- New utility `replaceVariableValues()` can be used to replace variables within complex scalars uses as inputs. This allows variables embedded within complex scalars to use the correct default values.
4950
- New `coerceInputLiteral()` methods on custom scalar types can be used (along with the new `valueToLiteral()` method when required) to automatically convert literals to values, including any variables embedded within complex scalars. Embedded variables will (finally) receive the appropriate default values! The `parseLiteral()` methods have been deprecated.
50-
- New support for resolver functions returning async iterables.
5151
- New helper `printDirective()` function introduced.
5252
- New option to use symbols rather than strings as keys within `extensions` properties of the various GraphQL Schema elements.
5353

0 commit comments

Comments
 (0)