Skip to content

madzhup/atom-graphql-autocomplete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Autocomplete Atom

graphql-autocomplete

Autocomplete and lint from a GraphQL endpoint or static JSON introspection query in atom.

Instructions

  • Create a .graphqlrc file in the root of your project

  • For querying against a live endpoint, add the endpoint:

{
  "request": {
    "url": "http://localhost:3000/graphql/",
    "encode": true,
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded; charset=utf-8"
    }
  }
}
  • For using a static file, add the file path (can be relative to the project or the fully-qualified path):
{
  "file": {
    "path": "./introspection.json"
  }
}

About

Autocomplete and lint from a GraphQL endpoint in atom.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.6%
  • CSS 1.4%