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
The additional dataTask function this library declares makes normal use of URLSession ambiguous, is this desired? It's quite inconvenient for consumers.
The text was updated successfully, but these errors were encountered:
This library has an interface on URLSessionDataTask, dataTasks are returned as usual but can be switched out to provide better testability or for mocking the network request.
Yes, but it makes any use of URLSession.dataTask ambiguous in any file I need to import this library or a dependent and disambiguating them is tricky, it took me a few tries to make Swift happy. As long as you’re aware.
The additional
dataTask
function this library declares makes normal use ofURLSession
ambiguous, is this desired? It's quite inconvenient for consumers.The text was updated successfully, but these errors were encountered: