Open charleslai2000 opened 11 months ago
I try to change the code to avoid crash, syntax highlighting and outline is OK, but symbol jump, cache file generation fail.
I have found the reason, it is caused by some bug in graphql-config, when provide configuration with schema
, includes
, graphql-config wil treat this configuration as legacy mode and try to read schema entries in schemaPath
field, and return undefined
in this case.
Is there an existing issue for this?
Current Behavior
LSP crash when schema file contains error in multi-project monorepo.
Expected Behavior
Act as normal.
Steps To Reproduce
Insert some error in schema file and save.
Error occurs when projectSchema is undefined. But I have an array of schema in .graphqlrc.
Environment
Anything else?
No response