All Projects → zth → vscode-graphiql-explorer

zth / vscode-graphiql-explorer

Licence: MIT license
Use GraphiQL + GraphiQL Explorer to build your GraphQL operations, right from inside of VSCode.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to vscode-graphiql-explorer

babel-plugin-flow-relay-query
Babel plugin which converts Flow types into Relay fragments
Stars: ✭ 38 (+8.57%)
Mutual labels:  relay, apollo-client
Absinthe
The GraphQL toolkit for Elixir
Stars: ✭ 3,805 (+10771.43%)
Mutual labels:  relay, apollo-client
Rescript Relay
Use Relay with ReasonML.
Stars: ✭ 214 (+511.43%)
Mutual labels:  relay, reasonml
nap
[Deprecated] NextJS + Apollo + PassportJS
Stars: ✭ 52 (+48.57%)
Mutual labels:  apollo-client
react-native-feed
News feed built with react-native, apollo-client and graphql & powered by postgraphql
Stars: ✭ 99 (+182.86%)
Mutual labels:  apollo-client
apollo-fragment
Use Apollo Link State to connect components to GraphQL fragments in the Apollo Cache
Stars: ✭ 112 (+220%)
Mutual labels:  apollo-client
jsoo-react
js_of_ocaml bindings for ReactJS. Based on ReasonReact.
Stars: ✭ 126 (+260%)
Mutual labels:  reasonml
boilerplate
Boilerplate for @prisma-cms
Stars: ✭ 22 (-37.14%)
Mutual labels:  apollo-client
bs-reason-apollo
ReactApollo bindings for BS
Stars: ✭ 23 (-34.29%)
Mutual labels:  reasonml
azure-relay
☁️ Azure Relay service issue tracking and samples
Stars: ✭ 81 (+131.43%)
Mutual labels:  relay
tea-chess
A chess-themed tutorial on writing an SPA in Bucklescript-TEA
Stars: ✭ 28 (-20%)
Mutual labels:  reasonml
Three-Factor-Security-Door
What do you get when you mix a Raspberry Pi, a MySQL database, an RFID reader, an LCD touchscreen, a relay switch, an electronic door strike and a Twilio SMS account?
Stars: ✭ 49 (+40%)
Mutual labels:  relay
pokedex-react
A Pokedex App using and teaching Apollo and React
Stars: ✭ 47 (+34.29%)
Mutual labels:  apollo-client
re-use
⚛️ 🎣 A collection of hooks for ReasonReact
Stars: ✭ 27 (-22.86%)
Mutual labels:  reasonml
devto-monorepo
Source code for the Dev.to article - Next.js, Apollo Client and Server on a single Express app
Stars: ✭ 33 (-5.71%)
Mutual labels:  apollo-client
reason-cookie
A simple way to use cookies in Reason (OCaml) on the frontend. 🍪
Stars: ✭ 18 (-48.57%)
Mutual labels:  reasonml
apollo-graphql-full-stack
Full-stack Apollo GraphQL app using React and Node JS
Stars: ✭ 31 (-11.43%)
Mutual labels:  apollo-client
re-typescript
An opinionated attempt at finally solving typescript interop for ReasonML / OCaml.
Stars: ✭ 68 (+94.29%)
Mutual labels:  reasonml
nibbledb
a byte-sized time series database
Stars: ✭ 23 (-34.29%)
Mutual labels:  reasonml
relay-core
Kubernetes-based execution engine
Stars: ✭ 15 (-57.14%)
Mutual labels:  relay

vscode-graphiql-explorer

Use GraphiQL + OneGraph's GraphiQL Explorer to build your GraphQL operations, right from inside of VSCode.

Demo

Features

  • Explore your schema and edit + insert GraphQL operations using GraphiQL Explorer conveniently right from VSCode.
  • Supports:
    • graphql and gql tags in JavaScript/TypeScript/Vue
    • [%graphql] and [%relay] nodes in ReasonML
    • Plain .graphql files
    • ...easy to add support for more languages and frameworks
  • Explore your schema using GraphiQL right from VSCode.

Setup

vscode-graphiql-explorer needs your introspected schema, either in a .json or a .graphql file. It tries to find your schema by looking in the workspace root for:

  1. schema.graphql, schema.json or graphql_schema.json.
  2. A .graphqlconfig file containing schemaPath pointing to your schema, like { "schemaPath": "/path/to/schema.graphql" }.

If your schema is located somewhere other than the workspace root, please add and configure a .graphqlconfig file pointing to the schema as described above.

For large schemas, please prefer providing your schema in the SDL format (.graphql) rather than JSON. That will make opening GraphiQL significantly faster.

If you don't have a schema file, you can create one by running npx get-graphql-schema http://url/to/your/graphql/endpoint > schema.graphql in your project root.

Usage

Put your cursor in a GraphQL operation, activate "Code Actions" (the lightbulb that appears next to the code), and select Edit GraphQL code in GraphiQL explorer.

In addition to that, the extension adds 3 commands:

  1. Edit operation, which does the same as described above, but through an explicit command. Use this with the cursor set in a tag (or full .graphql file) containing a GraphQL operation.
  2. Insert operation here, which let you insert an operation into your source file via GraphiQL. Use this with the cursor set in an empty GraphQL tag, or in a .graphql file.
  3. Explore schema with GraphiQL, which opens GraphiQL and let you explore your schema, without inserting or editing anything.

Contributing

Is your favorite language/framework not supported? Check out this link for instructions on how to PR support.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].