[GH-ISSUE #1042] Format GraphQL request body in gists #1039

Open
opened 2026-03-03 19:24:01 +03:00 by kerem · 4 comments
Owner

Originally created by @vrnvorona on GitHub (Oct 21, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1042

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? 2.34.1 (23410)

macOS Version? 11.6

Enhancement: format Graphql request when publishing gists

Currently it does great job with formatting JSON bodies, but gql query is still raw string. Maybe it could be helpful to format it as well?

Originally created by @vrnvorona on GitHub (Oct 21, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1042 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? 2.34.1 (23410) ### macOS Version? 11.6 Enhancement: format Graphql request when publishing gists Currently it does great job with formatting JSON bodies, but gql query is still raw string. Maybe it could be helpful to format it as well?
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 21, 2021):

Thanks. We will sort it on and send you beta build @vrnvorona 🙌

<!-- gh-comment-id:948630188 --> @NghiaTranUIT commented on GitHub (Oct 21, 2021): Thanks. We will sort it on and send you beta build @vrnvorona 🙌
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 21, 2021):

@vrnvorona Just wondering: Do you mean that Proxyman should beautify the "Query" in the Request JSON?

I tried to send a minified graphQL body.

Screen Shot 2021-10-21 at 20 48 20

It is formatted in the gist
Screen Shot 2021-10-21 at 20 47 42

<!-- gh-comment-id:948636667 --> @NghiaTranUIT commented on GitHub (Oct 21, 2021): @vrnvorona Just wondering: Do you mean that Proxyman should beautify the "Query" in the Request JSON? I tried to send a minified graphQL body. <img width="697" alt="Screen Shot 2021-10-21 at 20 48 20" src="https://user-images.githubusercontent.com/5878421/138291124-0fb30ed2-22dd-443c-be3c-70ab52b31c7f.png"> It is formatted in the gist <img width="1029" alt="Screen Shot 2021-10-21 at 20 47 42" src="https://user-images.githubusercontent.com/5878421/138291073-57a69f8f-5504-4b1f-b478-a5054dc31433.png">
Author
Owner

@vrnvorona commented on GitHub (Oct 21, 2021):

@NghiaTranUIT I meant to use GraphQL pretty view which is used in request view
Because long string of query is not really readable
image

<!-- gh-comment-id:948653712 --> @vrnvorona commented on GitHub (Oct 21, 2021): @NghiaTranUIT I meant to use GraphQL pretty view which is used in request view Because long string of query is not really readable ![image](https://user-images.githubusercontent.com/11422913/138294218-71af8340-bbb0-489a-b9c4-a2520b74ca5e.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 21, 2021):

Sorry, at the moment, Proxyman only publishes the Raw Tab. Therefore, there is no way to publish a customize Tab (like a GraphQL tab).

However, It's a reasonable idea to support it in future release 👍

<!-- gh-comment-id:948655449 --> @NghiaTranUIT commented on GitHub (Oct 21, 2021): Sorry, at the moment, Proxyman only publishes the Raw Tab. Therefore, there is no way to publish a customize Tab (like a GraphQL tab). However, It's a reasonable idea to support it in future release 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1039
No description provided.