• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

graphql-autocomplete

Autocomplete and lint from a GraphQL endpoint in atom
orionsoft
1.3.1 6,154
8
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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"
  }
}
  • Adding headers for ex authentication:
{
  "request": {
    "url": "http://localhost:8082/v1alpha1/graphql",
    "headers": {
      "Authorization": "Bearer <token>"
    }
  }
}
  • For using a static file, add the file path (can be relative to the project or the fully-qualified path):
{
  "file": {
    "path": "./introspection.json"
  }
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by