JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
880 stars 97 forks source link

Add GraphQL definitions for the Apollo Kotlin library #609

Closed lukel97 closed 2 years ago

lukel97 commented 2 years ago

This plugin works great with Android Studio, where I've been using it to develop apps with Apollo Kotlin.

Apollo Kotlin comes with some directives used for code generation such as @typePolicy, and currently they're flagged as errors since they're not typically defined in your server's schema.

This PR adds a toggle to include the extra definitions, alongside Apollo Federation and Relay