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

fix: remove pagination from group summaries #3090

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

matthewelwell
Copy link
Contributor

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.

Copy link

vercel bot commented Dec 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 5:06pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 5:06pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 5:06pm

Copy link
Contributor

@zachaysan zachaysan left a 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.

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Uffizzi Preview deployment-42106 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d301104) 95.88% compared to head (1b4690f) 95.88%.

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.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell added this pull request to the merge queue Dec 4, 2023
Merged via the queue into main with commit 1065ad0 Dec 4, 2023
17 checks passed
@matthewelwell matthewelwell deleted the fix/remove-pagination-from-group-summaries branch December 4, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants