FLEXTool / FLEX

An in-app debugging and exploration tool for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request]: Network History GraphQL allow to search easily

zabbasexpedia opened this issue · comments

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

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

@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]; }