ghedeon
02/06/2019, 9:15 AMResult
class? In Repository as well? I see this idea popping up here and there and I just feel like it's a useless noise. There is a case when you woudn't want to break the stream on error (in UI layer, for example), but then I'd just catch the error and emit a special type of item. I'd rather do this, then wrap/unwrap the Result
everywhere. Seems like google's influence with its primitive LiveData
with no error handling support, where you have no choice other than adding exceptions to the data itself.carlos cdmp
02/08/2019, 9:28 AMcarlos cdmp
02/08/2019, 9:28 AM