Skip to content

Conversation

@ihsaan-ullah
Copy link
Collaborator

@ihsaan-ullah ihsaan-ullah commented Aug 22, 2023

@ mention of reviewers

@Didayolo

A brief description of the purpose of the changes contained in this PR.

Now when fetching all leaderboards, you will get empty list. A test is also added for verification

Issues this PR resolves

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ihsaan-ullah ihsaan-ullah linked an issue Aug 22, 2023 that may be closed by this pull request
@Didayolo
Copy link
Member

Didayolo commented Aug 22, 2023

I am not sure I understand all the background of this.

@ihsaan-ullah
Copy link
Collaborator Author

The motivation is that leaderboards are nothing without competitions so if someone wants to fetch all leaderboards, nothing should be returned

@Didayolo
Copy link
Member

OK nice. I tested it and nothing is broken.

@Didayolo Didayolo merged commit f113cc1 into develop Aug 22, 2023
@Didayolo Didayolo deleted the list_all_leaderboard_test branch August 22, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write test confirming someone can't fetch all leaderboards

3 participants