Native Graphql Support
See original GitHub issueCurrently to hit any Graphql query
or mutation
, we need to convert them first to json.
It would be really great if we can copy the query directly from graphiql
and then pass it to httpie
.
Is it possible with httpie natively ? One of the vs-code extension is already doing it.
Is the same/similar thing possible with httpie
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:6 (2 by maintainers)
Top Results From Across the Web
What Does Native GraphQL Support in Kontent Bring for Devs?
In this article, I will introduce Kontent's new native GraphQL endpoint, explain GraphQL benefits from the developer's point of view, ...
Read more >The world's best serverless database, now with native GraphQL
Fauna's GraphQL API supports three general functions: Queries, Mutations, and Subscriptions. At this time, Fauna natively supports Queries and ...
Read more >Integrating with React Native - Apollo GraphQL Docs
React Native Debugger supports the Apollo Client Devtools: Install React Native Debugger and open it. Enable "Debug JS Remotely" in your app. If...
Read more >GraphQL | A query language for your API
A query language for your API — GraphQL provides a complete description of the data in your API, gives clients the power to...
Read more >Native GraphQL Support in Virtuoso — The Basics - Medium
Native GraphQL support in Virtuoso adds a new Data Access & Data Connectivity option alongside our existing support of SPARQL and SQL.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@schmidlidev GraphQL requests are regular HTTP requests so they have always been supported. This issue is about deeper GraphQL-specific features.
tldr; Example:
☝🏼Extension can be anything like:
http
orgql
orgraphql
orpost
etc. The idea is user should be able to directly copy-paste the query from graphiql or graphql-client. He should not be worried about json conversion. 👉🏼--schema
file is optional. When provided the query is parsed & validated against it first. [might be out of scope]Feature Requests:
graphql
request.dev
and `prod.I think with this two features we can compose many powerful apps. I don’t know if the following falls into
httpie
’s scope. E.g. We can download graphql’sschema.json
file and then we can haveautocomplete
andvalidation
support.With this two - Vim, VSCode, IDEs can implement: validation, autocomplete and response features for any graphql schema even with offline support. I was trying to send “graphql” queries from vim to terminal, but could not find a tool that can do that.
Useful Links: