Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support GraphQL request syntax of IntelliJ IDEA HTTP client #165

Closed
cxcatir opened this issue Jan 5, 2023 · 5 comments
Closed

support GraphQL request syntax of IntelliJ IDEA HTTP client #165

cxcatir opened this issue Jan 5, 2023 · 5 comments

Comments

@cxcatir
Copy link

cxcatir commented Jan 5, 2023

Hi, is it possible that httpYac can also support the GraphQL request syntax of Intellij Idea HTTP client and be compatible for development?

IntelliJ IDEA HTTP client:

use GraphQL keyword

GRAPHQL https://api.spacex.land/graphql

query launchesQuery($limit: Int!){
  launchesPast(limit: $limit) {
    mission_name
    launch_date_local
  }
}

{
    "limit": 10
}

Thanks a lot 🙇

@cxcatir cxcatir changed the title support GraphQL syntax of IntelliJ IDEA HTTP client support GraphQL request syntax of IntelliJ IDEA HTTP client Jan 5, 2023
@AnWeber
Copy link
Owner

AnWeber commented Jan 5, 2023

I overlooked the difference. I will take a look, if I find a documentation and update my implementation.

https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html#graphql

@AnWeber
Copy link
Owner

AnWeber commented Jan 5, 2023

With the next release GRAPHQL Method will be autmatically replaced with POST Method

@cxcatir
Copy link
Author

cxcatir commented Jan 6, 2023

I'm looking forward to the next release, thanks!

@AnWeber
Copy link
Owner

AnWeber commented Jan 8, 2023

@cxcatir I haven't closed all differences to Intellij Http Client yet, but wanted to release the changes that are important to you. With v5.10.0 it is now available.
It still lacks support for streaming responses and multiple requests, but I'm already working on that.

@cxcatir
Copy link
Author

cxcatir commented Jan 10, 2023

Thanks for the quick release! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants