graphql / graphql/graphiql

[monaco-graphql] Unable to use TypeScript language in combination

Open
#3,381 9 comments 0 reactions 2 assignees Claimed by @acao View on GitHub
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

After loading monaco-graphql, I am unable to create a monaco editor instance that uses the `typescript` language.
Monaco only tries loading the regular editor worker, and not the TS LSP worker anymore.

Commenting out the import statement for monaco-graphql makes TypeScript work again.

It's possible that this is a build pipeline issue, but even in that case I would appreciate some pointers that would allow me to further investigate and fix the issue.

For reproduction and screenshots: https://github.com/graphql/graphiql/issues/3381#issuecomment-1659135207

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.