Skip to content

graphql-language-service@5.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Aug 19:50
bffd89e

Minor Changes

  • #4462 1cb7eba Thanks @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 to false until 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 d0a34f4 Thanks @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 296214d Thanks @DukeDeSouth! - Wrap autocompleted list input values in square brackets

    When 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 bare JEDI, which produced an invalid query. Values completed inside an existing list literal, and non-list values, are left as they were.