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

Feature Request: Custom network log descriptions #251

Closed
ejensen opened this issue Apr 19, 2024 · 1 comment
Closed

Feature Request: Custom network log descriptions #251

ejensen opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@ejensen
Copy link
Sponsor Contributor

ejensen commented Apr 19, 2024

The URL alone is insufficient to identify a network operation in certain scenarios. For example, in the GraphQL API, the URL for every request is identical. However, each GraphQL operation has a name within the request's body that identifies the operation. It would be useful to have the option to specify a custom description in NetworkLogger.Request so operations can be identified without needing to inspect each network entry. The description could default to URLSessionTask.taskDescription

@kean kean added the feature label May 5, 2024
@kean
Copy link
Owner

kean commented May 19, 2024

Great suggestion, @ejensen!

Implemented in #254 and shipped in Pulse 4.2

@kean kean closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants