Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply v2 to master #232

Merged
merged 146 commits into from
Apr 6, 2019
Merged

Apply v2 to master #232

merged 146 commits into from
Apr 6, 2019

Conversation

jimkyndemeyer and others added 30 commits June 16, 2018 16:13
- Moved to Gradle project setup and build
- Updated plugin.xml as prep to adding GrammarKit based parser
- Added dependency on graphql-java which will be used instead of Node.js based language service
…t spec, including SDL (#164)

- Moved existing PSI code and IDE packages into a v1 sub package as v2 feature parity is established
- Simplified graphql.config.json by removing the schema field now that the plugin discovers all schema definitions on its own
- Removed v1 GraphQL parser and lexer that used the language service
…udio (#164)

- Moved code that requires the JavaScript plugin into separate packages and graphql-javascript.xml
- Removed references to JavaScript and TypeScript file types in JSGraphQLFindUsagesUtil.java which caused errors when running in Android Studio
- Updated release info in plugin.xml to match alpha feature set
- Ignore errors from graphql-java KnownDirectives on type definitions as it only handles executable directive locations
- Show directive completions based on declared directives and not only the schema which can be broken while typing
- Added settings dialog for schema discovery
- Added JSON schema for .graphqlconfig
- No longer using graphql.config.json for configuration
- Introspection query execute line marker on url in .graphqlconfig
- Print schema JSON as SDL line marker
#164 and #165)

- Fixed lexer keyword rule which return token as name for anonymous query with variables
- The grammar selectively allows keywords as identifiers, so removed lexer keyword rules
- Added Relay Modern support
- Added Developer Guide
- Added create .graphqlconfig file action
- Added support for placeholders in template literals: Handles variables, top level operations/fragments, selections
…ven that GraphQL didn't include SDL at that time) (#164)
- Add caching of references using ResolveCache
- Introduced GraphQLSchemaChangeListener to only clear schema caches when editing SDL, improving performance drastically while editing queries, fragments etc. that can't affect the schema
- Improved use of graphql-java parser by minimal parsing and then adjusting source locations
…ext offset in the editor (e.g. TSX file with graphql tagged template) (#164)
denofevil and others added 29 commits March 21, 2019 17:43
Updated documentation provider to match new style
…iew (#164)

- Moved schema discovery in tree nodes off the UI thread to reduce editor stutter
- Added caching of node children
…mance and prevent deadlock in PsiSearchHelper when find usages maxes out the ForkJoinPool (#164)
…'t filter out scalars that come "built-in" in graphql-java (#164, #229)
# Conflicts:
#	resources/META-INF/plugin.xml
…d unnecessary changes to checked-in remote schemas (#164)
@jimkyndemeyer jimkyndemeyer merged commit a34e36b into master Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants