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 current implementation of Action doesn't allow you to receive the Swift.Error when .execution is called. But we get an ActionError type which is not really useful because you always have to switch within it to the underlyingError.
Proposal
I think it would be nice for the framework to have something like var underlyingErrors: Observable<Swift.Error> which will only emit when .execution actually has an error
The text was updated successfully, but these errors were encountered:
@dangthaison91 exactly, the idea is to separate the errors related to the output from the executionErrors this will make sure that on .errors we will be getting only Swift.Error. Do plan on submitting a PR?
Currently
The current implementation of
Action
doesn't allow you to receive theSwift.Error
when.execution
is called. But we get anActionError
type which is not really useful because you always have to switch within it to theunderlyingError
.Proposal
I think it would be nice for the framework to have something like
var underlyingErrors: Observable<Swift.Error>
which will only emit when.execution
actually has an errorThe text was updated successfully, but these errors were encountered: