Type aliases
FragmentInfo
FragmentInfo: { content: string; definition: FragmentDefinitionNode; filePath?: undefined | string }
Type declaration
-
content: string
-
definition: FragmentDefinitionNode
-
Optional filePath?: undefined | string
GraphQLScalarTSType
GraphQLScalarTSType: string | number | boolean
GraphQLScalarType
GraphQLScalarType: "String" | "Float" | "Int" | "Boolean" | string
UserVariables
UserVariables: {}
WithList
WithList<T>: T | T[]
Type parameters
graphql.vscode-graphql-execution
This extension provides standalone support for executing graphql operations inline in your code for:
How it works
Configuring the extension
graphql-config
Your graphql config file will need to contain either a schema-as-url OR an endpoints configuration. Either of the following are valid:
schema: https://localhost:3000/graphql
schema: schema.graphql extensions: endpoints: default: url: 'https://localhost:3000/graphql'
projects: app: schema: schema.graphql extensions: endpoints: default: url: 'https://localhost:3000/graphql'
Disable codelens
To disable the codelens, please specify this setting in
settings.json
oruser.json
:Self Signed Certificates
Enable this (
false
by default) to allow node to use non-authorized SSL certificates.{ "vscode-graphql-execution.rejectUnauthorized": true }