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

GraphQL beautifier #6

Open
bebiksior opened this issue Sep 21, 2024 · 2 comments
Open

GraphQL beautifier #6

bebiksior opened this issue Sep 21, 2024 · 2 comments
Assignees

Comments

@bebiksior
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Description

A plugin that allows you to easily modify GraphQL requests on the Replay tab with custom UI.

Features:

  • Beautify GraphQL queries
  • Send introspection query with a one-click

Note

I plan to work on this plugin in the next 2 months and will leave a comment once I start. If I haven’t started yet, feel free to work on it - just let me know in the comment :D

Use cases

Make working with GraphQL endpoints easier :D

@Sicks3c
Copy link

Sicks3c commented Dec 3, 2024

Hey @bebiksior

Thanks for the initiative, as more and more dev are migrating from REST to GraphQL
This will be crucial for our community and for Caido Users

Here's some ideas that would be cool to Implement:

  • When you send a request to repeater it should automatically detect if the body has a "query: query" or "query: mutation" and have a little tab that has GraphQL which has a graphql editor similar to burp function
  • Add a small button where you type Auto-Fetch Introspection if it exist it will contruct all the possible queries and mutations with their fragments in a new tab so you can build and send to repeater
  • When putting queries variables it should auto follow the indentation

Thanks for considering

Cheers

@bebiksior
Copy link
Author

Sounds good! Will make sure to implement this features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants