graphql-for-vscode icon indicating copy to clipboard operation
graphql-for-vscode copied to clipboard

Unused type definition 'Subscription'

Open thu-san opened this issue 6 years ago • 0 comments

Not an error, but show warning if I use Subscription type.

type Subscription {
  newUser: User
}

screen shot 2019-02-11 at 12 17 36

Doesn't happen with Query and Mutation type.

Do I need additional setup for subscription? My current .gqlconfig is

{
  schema: {
    files: 'src/**/*.graphql'
  }
}

thu-san avatar Feb 11 '19 03:02 thu-san