Minor Changes
-
#4462
1cb7ebaThanks @JoviDeCroock! - Add opt-in GraphQL 17 fragment argument syntax support to parsing, validation,
type information, autocomplete, hover, and editor integrations. Enable it with
experimentalFragmentArguments: true; it defaults tofalseuntil server
capabilities can advertise support.Also fix variable autocomplete to respect operation and fragment scope while
including variables from operations that spread the current fragment.
Patch Changes
-
#4466
d0a34f4Thanks @glen-84! - Anchor validation diagnostics at the highlighted node's own position, so the range for an unknown aliased field covers the field name rather than the alias, and the range for an unknown directive covers its name rather than starting at the@. -
#4356
296214dThanks @DukeDeSouth! - Wrap autocompleted list input values in square bracketsWhen you complete an enum or boolean value for a list-typed argument or input field (e.g.
[Episode]), the suggestion now inserts[JEDI]instead of a bareJEDI, which produced an invalid query. Values completed inside an existing list literal, and non-list values, are left as they were.