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
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 toURLSessionTask.taskDescription