Closed ghost closed 4 years ago
Any update on this?
I will release an update soon.
But for now, if it helps, you can try this. Should be fine 😊
tinyNetworking
.requestPublisher(resource: .photo(id: id))
.compactMap { $0.data }
.decode(type: Codable.Type, decoder: JSONDecoder())
.eraseToAnyPublisher()
Fixed. Released in v.4.0.1
. 🚀
When I use TinyNetworking with combine like the example. I cannot use the map(to:) to map the object.![Screen Shot 2019-11-06 at 10 43 03 AM](https://user-images.githubusercontent.com/47016587/68266870-fd154700-0082-11ea-87a5-7bba0df9eeef.png)