2.0.0-alpha-3: Support for graphql-config
Pre-release
Pre-release
This is the third alpha of version 2, which features:
- Support for graphql-config to configure endpoints and multi-schema project structures
- A settings page where schema discovery is configured
- Line markers for turning introspection result JSON into GraphQL SDL
- Line markers for executing an introspection query agains an enpoint URL to print GraphQL SDL
- Fixed completion and error highlighting for schema directives, enabling better support for framework-specific directives
Upgrade notes from alpha-2
- The plugin no longer uses a
graphql.config.json
file. Schema discovery is now configured using the GraphQL settings card. You can use project scopes to achieve multi-schema setups, or use globs in.graphqlconfig
files. - The alpha-2 release defaulted to use scopes for schema discovery. This is now opt-in in the "Languages & Frameworks" > "GraphQL" settings card.
Getting and installing the alpha releases
The alpha releases will be published directly in this repository and is added to your IDE using a custom plugin repository URL:
- In your IDE, click "Settings" > "Plugins" > "Browse repositories..." > "Manage repositories..."
- In the "Custom Plugin Repositories" dialog that opens, add the following url:
https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/raw/v2/alpha-releases/updatePlugins.xml
- Once added, click "Ok" to return to the "Browse repositories" dialog.
- You should now see a "Repository: All" dropdown. Select this alpha repository that you just added.
- You should now see the GraphQL alpha plugin listed.
As new alpahas are released, you should get plugin update notifications as per ususal.
Documentation (work in progress)
https://gist.github.com/jimkyndemeyer/1903b65ff892f0811e76f16d8b530848
Reporting issues
The main issue for tracking the v2 road map is #164. Feedback and questions are welcome in that issue.
For bugs, see the known issues and limitations below. If the issue is not mentioned, use a [v2]
prefix when reporting issues for the alpha.
Known issues and limitations
This release is not feature complete, and changes will be made as development continues.
Pending features:
- Documentation view
- Structure view
- Performance improvements through PSI caching
- Proper handling of placeholders in tagged templates
Known issues:
- Placeholders in tagged templates are not transformed before being validated by graphql-java. This can break Relay Classic and certain Apollo projects that use placeholders instead of the newer and recommended static queries and fragments