Skip to content

[lsp-server] 🐞 incorrect bundling of types for graphql-language-server #3790

Open
@phryneas

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently, [email protected] causes type errors with [email protected]. Apparently, this package bundles the types of the development dependency graphql into the published bundle, which will then cause TypeScript errors.

Also see the discussion in graphql/graphql-js#4201

Expected Behavior

As 16.9.0 is a valid peerDependency, it should not result in TS warnings.

Steps To Reproduce

Install [email protected] and [email protected], run tsc.

Environment

See this PR: apollographql/vscode-graphql#175 with a failing CI job

Anything else?

No response

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