graphqurl
graphqurl copied to clipboard
curl for GraphQL with autocomplete, subscriptions and GraphiQL. Also a dead-simple universal javascript GraphQL client.
`graphqurl` uses apollo-client underneath to make queries and subscriptions. Apollo client is actually unnecessary for this use case. This library can be more performant and lightweight if we remove the...
Feature request: Would you accept a PR to add a `--quiet` flag to omit the `Executing query...` output?
Not sure why is this thrown? ``` Executing query... error Error: [undefined] at [undefined]: undefined ```
Current README.md has a typo on `--variablesJSON` shorthand as `-n`. It should be `-j`. This PR fixed the typo.
Do I have to check the results and if there are more pages then call graphqurl again?
Right now `query` in the nodejs api is just a string. we should support gql-parsed strings too, so that if they are exported elsewhere, it can be used directly. ```js...
Nothing happens when I hit enter to submit a query. Are there any logs I can check?
Without Authorization header (and server auth disabled), it works as expected: [15:41:23] vagrant: tmp $ graphqurl http://localhost:4000 -q 'subscription {ottRightCreated {right { id } } }' @oclif/config reading core plugin...
though package.json specify node>=8.0.0, the installed cli failed on 8.0.0 with command ``` $ node -v v8.0.0 $ npm -v 5.0.0 $ gq /home/user/.nvm/versions/node/v8.0.0/lib/node_modules/graphqurl/node_modules/graphql-language-service-parser/dist/onlineParser.js:128 state.prevState = { ...state }; ^^^...
Per [the docs](https://graphql.org/learn/queries/#operation-name) > The operation type is either query, mutation, or subscription and describes what type of operation you're intending to do. However many places in the [README](https://github.com/hasura/graphqurl/blob/dbe963ce82e729002c48038ebb0dfabda34f783c/README.md), and...