Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The return type should be nullable in SessionsEmspRepository.getSession #28

Closed
andacata opened this issue Dec 1, 2023 · 2 comments · Fixed by #35
Closed

The return type should be nullable in SessionsEmspRepository.getSession #28

andacata opened this issue Dec 1, 2023 · 2 comments · Fixed by #35
Labels
bug Something isn't working module: sessions

Comments

@andacata
Copy link
Contributor

andacata commented Dec 1, 2023

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.

@lilgallon
Copy link
Member

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

@lilgallon
Copy link
Member

done in 0.0.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module: sessions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants