Morning guys, anyone know how setup intellisense f...
# orm-help
n
Morning guys, anyone know how setup intellisense for
graphql-tag
when editing
gql
literal? I'm trying to use this plugin https://github.com/Quramy/ts-graphql-plugin but I don't understand how configure. Thanks
Also try to use https://github.com/prisma/vscode-graphql in typescript client with
schemaPath
to typescript server
any help to configure this plugin and have validation/autocomplete for
gql
@Harshit hello mate, do you use autocomplete/validation for literal
gql
?
I'm stuck on it and this will improve my coding, thanks for any advise
h
@divyendu Can you please help here since I haven't used the extension
Also @Nicola Nardella, please checkout docs for graphql config which that extension uses https://github.com/prisma/graphql-config
n
ex. I've this config
Copy code
projects:
  client-test:
    schemaPath: ../graphql-auth/src/generated/schema.graphql
    includes: ["**/*.graphql"]
    extensions:
      endpoints:
        default: '<http://localhost:4000/graphql>'
I'm using
graphql-auth
typescript example from Prisma