Skip to content

If IPlayerService/GetRecentlyPlayedGames returns no games, return an empty collection - #33

Open
ilumos wants to merge 4 commits into
Astrotomic:mainfrom
zeropingheroes:getrecentlyplayedgames
Open

If IPlayerService/GetRecentlyPlayedGames returns no games, return an empty collection#33
ilumos wants to merge 4 commits into
Astrotomic:mainfrom
zeropingheroes:getrecentlyplayedgames

Conversation

@ilumos

@ilumos ilumos commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

The existing code throws an exception. This change returns an empty collection.

@Gummibeer Gummibeer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a test for that so that we can ensure an empty response will stay working in the future.

@ilumos
ilumos requested a review from Gummibeer February 7, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants