You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While js-graphql-intellij-plugin was originally designed for JavaScript/TypeScript, it's also used as a foundation for other GraphQL plugins like the DGS IntelliJ Plugin (which supports Java/Kotlin). We've identified an issue where the plugin's functionality breaks when handling GraphQL queries containing $ variables within Kotlin string literals.
Related DGS Plugin Issue
I've also reported this issue in the DGS IntelliJ Plugin repository since it's directly affected: Netflix/dgs-intellij-plugin#114
Current Behavior
When writing GraphQL queries in Kotlin string literals that include variable declarations (e.g., ${'$'}filter: FilterInput!), the plugin fails to:
Provide proper syntax highlighting
Offer code completion
Validate against schema
This appears to be a core functionality issue in the base plugin that affects derived implementations like the DGS plugin.
Example
val query =""" query GetItems(${'$'}filter: FilterInput!) { items(filter: ${'$'}filter) { id name } }""".trimIndent()
Expected Behavior
The plugin should properly parse and process GraphQL queries containing variable declarations in non-JavaScript contexts (particularly in Kotlin string literals), maintaining all functionality regardless of the presence of $ symbols.
Since this plugin serves as a foundation for other language-specific GraphQL plugins (like the DGS plugin for Java/Kotlin), resolving this issue at the core level would benefit the broader GraphQL plugin ecosystem in IntelliJ-based IDEs.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
While js-graphql-intellij-plugin was originally designed for JavaScript/TypeScript, it's also used as a foundation for other GraphQL plugins like the DGS IntelliJ Plugin (which supports Java/Kotlin). We've identified an issue where the plugin's functionality breaks when handling GraphQL queries containing
$
variables within Kotlin string literals.Related DGS Plugin Issue
I've also reported this issue in the DGS IntelliJ Plugin repository since it's directly affected:
Netflix/dgs-intellij-plugin#114
Current Behavior
When writing GraphQL queries in Kotlin string literals that include variable declarations (e.g.,
${'$'}filter: FilterInput!
), the plugin fails to:This appears to be a core functionality issue in the base plugin that affects derived implementations like the DGS plugin.
Example
Expected Behavior
The plugin should properly parse and process GraphQL queries containing variable declarations in non-JavaScript contexts (particularly in Kotlin string literals), maintaining all functionality regardless of the presence of
$
symbols.Since this plugin serves as a foundation for other language-specific GraphQL plugins (like the DGS plugin for Java/Kotlin), resolving this issue at the core level would benefit the broader GraphQL plugin ecosystem in IntelliJ-based IDEs.
The text was updated successfully, but these errors were encountered: