Skip to content

[lsp-server] 🐞 VSCode validation error Unknown fragment in v0.11.0 #3620

Open
@minami-minami

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I get errors after updating “GraphQL: Language Feature Support” to v0.11.0.

image

  • FooFragment is defined another file.
  • No errors if defined in the same file.

Expected Behavior

No errors when using fragments from another files.

Steps To Reproduce

  1. define fragment
  2. define query or fragment in another file.
  3. use fragment defined in step 1

Environment

  • LSP Server Version: latest
  • OS: macOS 13.5.1
  • LSP Client: VSCode v1.89.1
  • graphql: v16.8.1

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    buglsp-servergraphql-language-service-server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions