Skip to content

Commit 3a8ea22

Browse files
committed
restore default value bit
1 parent e4b14bb commit 3a8ea22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131

3232
- `graphql-js` now properly enforces that the schema's root types must be unique.
3333

34+
#### Default Values
35+
36+
- Use external GraphQL values for the programmatic `defaultValue` property of `GraphQLArgument` and `GraphQLInputField` objects rather than coerced internal default value. Introspection will then present the exact original default value rather than attempting to "uncoerce" internal input values, avoiding some rare cases in which default values within an introspected schema could differ slightly from the original SDL (e.g. [#3501](https://github.com/graphql/graphql-js/issues/3051)).
37+
3438
## New API features
3539

3640
- New `validateExecutionArgs()`, `executeQueryOrMutationOrSubscriptionEvent()`, or `experimentalExecuteQueryOrMutationOrSubscriptionEvent()` helpers are available to perform GraphQL argument evaluation and/or manipulation and then manually continue with execution.
@@ -87,3 +91,4 @@
8791
- Deprecated `getVisitFn()` helper function has been removed, use `getEnterLeaveForKind()` instead.
8892
- Deprecated `formatError()` and `printError()` helper functions have been removed, use `error.toString()` and `error.toJSON()` methods instead.
8993
- Deprecated positional arguments for `createSourceEventStream()` have been removed.
94+
for `createSourceEventStream()`.

0 commit comments

Comments
 (0)