Replies: 1 comment
-
Hey, I have been working for a while on GraphQLSP which leverages this package internally. Feel free to delete this if it's not the appropriate place to post this comment. The
If you are looking for folks to help out here, I am more than open to talking more about these subjects. I have wanted to see some relay-like DevTools for general GraphQL development. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a long time in the making. The
graphql-language-server
was architected before adoptinggraphql-config
and LSP protocol and it shows! The current design makes the code extremely difficult to understand, and almost instantly leads to smells and features that work for single files but not the entire project or workspace.This is an extremely rough partial draft of a design proposal that will be fleshed out and accompanied with a blog post and/or slide deck soon. But I wanted to get the basic idea out there so that in-flight contributors could understand what changes will happen.
Before any of this happens or new features are added, we will be adding many more unit tests and end to end tests.
This is partially inspired by other LSP implementations, and by contributors like @Foo-x who had some incredible vision, such as #2594 and in #2609
Key Changes
graphql-config
and possibly some breaking changes, we may be able to simplify this and reduce encapsulation.GraphQLProject
to provide us everything that we need to replace our own implementations, then we should still use@graphql-tools/*
packages to normalize pointers and load filesPreliminary Work
beforehand, we must add much more unit and end to end test coverage!
vscode-graphql
should be set up to for end to end tests attempt to get vscode working in an e2e runner #3288 for completion, diagnostics, etc on init with several file configurationsgraphql-language-service-server
should have near complete unit test coverage before undergoing major changesgraphql-language-service
should have naer complete unit test coverage before undergoing major changesBeta Was this translation helpful? Give feedback.
All reactions