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

Add customizable detail field to request table view cells #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZsoltMolnarMBH
Copy link

Problem:
When using Wormholy in GraphQL projects, it is difficult to oversee the GraphQL operations sent, due to the endpoint being the same in every single case.

Solution:
Add a label to RequestCell that can be customized what to show.

Example usage:

Wormholy.detailProvider = { $0.headers["X-APOLLO-OPERATION-NAME"] }

Screenshot:
(Note our debug menu changes the navigation title, please ignore that).
Screenshot 2022-05-06 at 17 51 58

@pmusolino pmusolino added the enhancement New feature or request label Mar 7, 2023
@pmusolino
Copy link
Owner

Thank you for the changes you've made in this PR. It looks good to me and I plan to merge it soon. I think it would be helpful to include an example in the README file to show how the label customization feature can be used. Would you be able to provide a simple code snippet or usage example that we could include in the README? This would help our users understand how to use this feature more easily. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants