-
Notifications
You must be signed in to change notification settings - Fork 415
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
fix: remove pagination from group summaries #3090
fix: remove pagination from group summaries #3090
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice I like how clean this was.
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3090 +/- ##
=======================================
Coverage 95.88% 95.88%
=======================================
Files 1035 1035
Lines 30773 30777 +4
=======================================
+ Hits 29508 29512 +4
Misses 1265 1265 ☔ View full report in Codecov by Sentry. |
Changes
Since the FE needs to be able to grab the list of groups for an organisation to e.g. populate the group owners on a feature, and the summaries endpoint only returns 2 attributes for each group, we can safely remove the pagination from this endpoint.
Note that this endpoint has not yet been released to production but this needs to be merged before the next release of the API to ensure that we're not creating breaking changes to the API.
How did you test this code?
Updated the unit test.