Open zabbasexpedia opened 1 year ago
I forked, to add an ugly "hack" to show the operationName
of a GraphQL request.
So this might be in some way usefull.
https://github.com/nuke-dash/FLEX-with-graphql-support/commit/19f0a79d89c7cca6f4f29a0425b8c873443535af
@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]; }
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: