Open hungdao-testing opened 4 years ago
@hungdao-testing Thanks for writing in! We are working on improving the experience around improving grapgQL in Postman. We will keep this in mind while designing the experience
@hungdao-testing @vvs11 I suppose the "Beautify"/"Prettify" feature for GraphQL query would be a great addition to Postman. I'd +:100: that! Thank you :)
Having the ability to format graphql requests would be great. I'll generally build my graphql queries in another tool/UI like graphiql for my server, then copy it into postman. If I have to modify it a lot, I'll have to copy it from postman, paste it into another tool, format it, then copy it back into postman.
Can this be made available to the postman as this would be a lot helpful for proper indentation of gql queries. Also it will help to know who are the child of which key in gql.
Having this feature would save us a lot of time.
@vvs11 Hello, Anything new about the "GraphQL Beautify" feature? We all will be so appreciated if you can manage to do it ^^ Thanks in advance.
This would be very useful! Please consider doing it!
Yes, vote +1
+1
+1 from me as well
+∞
+++++++
+1 🙏
Pretty please!
+1 as well
Beautify for both Query
and GraphQL Variables
Pretty please!
It took 2 years but someone finally caved and made this joke
Aside from that: +1
"+1" since 2020. At the same time, the world has found a vaccine counter the COVID 🤣🤣 For the @me of the future, tell me what's going on ? How are you ?
+1
+1
+1
+1
+1
Having the ability to format graphql requests would be great. I'll generally build my graphql queries in another tool/UI like graphQL for my server, then copy it into postman. If I have to modify it a lot, I'll have to copy it from postman, paste it into another tool, format it, then copy it back into postman.
I would like to see this too for the same reason.
Also, since I often keep the final graphql in a column in a sql table, I need the ability to minify it down to a one liner so I can copy it and paste it into a sql config table field. Likewise for the other direction.... paste the one liner into postman and format it nicely there.
+1
+1
+1
DingDong, it is 2023 and still now graphQL beautify
Are there any alternatives to Postman with better support for graphql?
Are there any alternatives to Postman with better support for graphql?
Yes.
Insomnia is a solid choice.
I recommend using this site.
Postman just released our new GraphQL client in open beta. 😄 The new client addresses both of these question! I'd love for you to try it out and confirm this.
Also, to address another comment in the thread:
Having the ability to format graphql requests would be great. I'll generally build my graphql queries in another tool/UI like graphiql for my server, then copy it into postman. If I have to modify it a lot, I'll have to copy it from postman, paste it into another tool, format it, then copy it back into postman.
The new client allows you to build your queries in Postman through introspection or loading your schema from local or an API and auto-format the request!
@SterlingChin unfortunately introspection doesn't seem to work with asp.net servers implementing the Hot Cholcolate GraphQL server here: https://github.com/ChilliCream/graphql-platform nevermind seems there's an issue with variable substitution in this new feature: https://github.com/postmanlabs/postman-app-support/issues/11803
The variable substitution issue is getting worked on. Will update this thread too when that's done.
I am using the latest Postman with GraphQL, after throwing Insomnia in the trash bin. It's awesome, great work!!
I am looking for the ability to "prettify" the GraphQL request body, and for Flows to support graphQL request chains, but I can wait patiently. Take your time even. Thank you and awesome work! 👍
The prettify feature would still be highly appreciated :)
+1
+1
+1
Describe the solution you'd like 1) When I'm working on GraphQL body, I could not find a way to collapse/expand a node in body. I have to roll-down and up to find the wanted node to do. My expectation the Postman could support collapse/expand a node as in the response.
2) It's better to have a "beautify" feature as in API to format the body.