Skip to content

Instantly share code, notes, and snippets.

@lgandecki
Created March 7, 2017 16:15
Show Gist options
  • Save lgandecki/ba1ba47ada3b985b0cbff62b5dc2cf08 to your computer and use it in GitHub Desktop.
Save lgandecki/ba1ba47ada3b985b0cbff62b5dc2cf08 to your computer and use it in GitHub Desktop.
{
"README_schema" : "Specifies how to load the GraphQL schema that completion, error highlighting, and documentation is based on in the IDE",
"schema": {
"request": {
"url" : "http://localhost:3000/graphql",
"method" : "POST",
"README_postIntrospectionQuery" : "Whether to POST an introspectionQuery to the url. If the url always returns the schema JSON, set to false and consider using GET",
"postIntrospectionQuery" : true,
"README_options" : "See the 'Options' section at https://github.com/then/then-request",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
},
"README_endpoints": "A list of GraphQL endpoints that can be queried from '.graphql' files in the IDE",
"endpoints" : [
{
"name": "Default (http://localhost:3000/graphql)",
"url": "http://localhost:3000/graphql",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment