Skip to content

Commit bff6353

Browse files
committed
add changes to Variable Values
1 parent 2b62e13 commit bff6353

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
- Introspection now returns the exact original default value included within the SDL rather than attempting to "serialize" 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)).
4848
- Other Changes:
4949
- `IntrospectionType` is now properly typed using `TypeKind` Enum.
50+
- Changes to Variable Values throughout the code base:
51+
- Variable Values are now a dedicated type containing both the coerced values as before as well as the variable signature and provided source, so that variables embedded within complex scalars will be able to be properly replaced. This is non-spec behavior, but was previously supported by `graphql-js` and will now be sound.
52+
- The return type of `getVariableValues()` has been updated, as have the provided arguments to `getArgumentValues()`, `coerceInputLiteral()`, and `collectFields()`, and `getDirectiveValues()`.
5053

5154
## Deprecations
5255

0 commit comments

Comments
 (0)