sberoch/RickAndMorty-AndroidArchitectureSample

[Help] Unit test on repository

Opened this issue · 0 comments

This sample architecture really inspired me a lot especially to start a new project.
Unfortunately, I've stuck on unit test now.

Any chances to work on unit test?
I did a unit test in repository. seems like performGetOperation getting

Overload resolution ambiguity:

public fun <T, A> performGetOperation(_sharePrefQuery: () -> LiveData<TypeVariable(T)>, networkCall: suspend () -> Either<ErrorResponse, Resource<TypeVariable(A)>>, _saveCallResult: suspend (TypeVariable(A)) -> Unit): LiveData<Resource<TypeVariable(T)>> defined in com.sicpa.gss.sicpaconnectproduct.network in file DataAccessStrategy.kt