IZIVIA/ocpi-toolkit

The return type should be nullable in SessionsEmspRepository.getSession

Closed this issue · 2 comments

Hi team,
Congratulations for the good job you're doing.

As I'm testing the library, I found some issues.

suspend fun getSession(countryCode: CiString, partyId: CiString, sessionId: CiString): Session

The return type should be nullable, because the session may not be found.

Hi, thanks for your report, you are right, it has to be fixed

done in 0.0.15