earroyoron
06/12/2019, 3:41 PMtypealias LoginResponse = Coproduct4<FatalLoginProblem, WrongCredentials, LoginNeedsMore, SuccessCompletedLogin>
a LoginResponse is only 1 of the 4 types or I should create Unit onto the useless.
PD: I think as we use First(FatalLoginProblem()) the answer is it holds just 1, but I am not sure because of the fold syntax where I always should use all “branches” for the coproduct.