now AuthDataUseCase convert JSON to AuthData, but this is not desirable. AuthDataRepository (and the implementation class) have a responsibility to generate AuthData.
Solution
NowAuthDataRepository#get() returns String. However, from this issue, AuthDataRepository#get() returns AuthData?
Overview
now
AuthDataUseCase
convert JSON to AuthData, but this is not desirable.AuthDataRepository
(and the implementation class) have a responsibility to generate AuthData.Solution
Now
AuthDataRepository#get()
returnsString
. However, from this issue,AuthDataRepository#get()
returnsAuthData?