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

[Request]: Network History GraphQL allow to search easily #657

Open
zabbasexpedia opened this issue Mar 2, 2023 · 2 comments
Open

[Request]: Network History GraphQL allow to search easily #657

zabbasexpedia opened this issue Mar 2, 2023 · 2 comments

Comments

@zabbasexpedia
Copy link

If you tried someday to search for a GraphQL query it will be not easy, to search for GraphQL in the search bar and then open request by request to find the wanted request this took a lot of time and this is too frustrating.

Want we can do is:

  • Allow the search bar to search by query name.
  • Add the query name beside graphql (screenshot attached).

Screenshot 2023-03-02 at 1 31 47 PM

@nuke-dash
Copy link

I forked, to add an ugly "hack" to show the operationName of a GraphQL request.
So this might be in some way usefull.
nuke-dash@19f0a79

@zabbasexpedia
Copy link
Author

zabbasexpedia commented Mar 28, 2023

@nuke-dash thank you

I have done this locally but with another approach
Was looking forward to supporting the search and other stuff but I can't find the time to do that

if ([[_primaryDescription lowercaseString] isEqualToString: @"graphql"]) { NSString *apolloOperationName = [self.request.allHTTPHeaderFields valueForKey: @"X-APOLLO-OPERATION-NAME"]; _primaryDescription = [_primaryDescription stringByAppendingFormat: @" - %@", apolloOperationName]; }

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

No branches or pull requests

2 participants