You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no easy way right now to setup ApolloHttpNetworkTransport with logging http network traffic. The only feasible way is to create a custom instance of ApolloHttpNetworkTransport for each platform with preconfigured logging in Call.Factory / DataTaskFactory.
Describe the solution you'd like
It would be nice if Apollo client would have centralized API to configure networking logging.
The text was updated successfully, but these errors were encountered:
What about a "okhttp-like" interceptors API that would work with HTTP requests instead of GraphQL requests?
Yes that will work, the only concern with that if this means we are trying to build KMP version of OkHttp or own version of Ktor :). I would suggest to start with logging, as adding okhttp like interceptors could be a big feature by itself.
Is your feature request related to a problem? Please describe.
There is no easy way right now to setup
ApolloHttpNetworkTransport
with logging http network traffic. The only feasible way is to create a custom instance ofApolloHttpNetworkTransport
for each platform with preconfigured logging inCall.Factory
/DataTaskFactory
.Describe the solution you'd like
It would be nice if Apollo client would have centralized API to configure networking logging.
The text was updated successfully, but these errors were encountered: