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(server): Prevent missing data in paginated search queries with ElasticSearch 8.0 #3067

Merged
merged 1 commit into from
May 29, 2024

Conversation

nellh
Copy link
Contributor

@nellh nellh commented May 29, 2024

Refactor advancedDataset search resolver for clarity and pass in the right result object for elasticRelayConnection to correctly paginate a query result.

Copy link

codecov bot commented May 29, 2024

Codecov Report

Attention: Patch coverage is 5.26316% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 42.21%. Comparing base (0859b5f) to head (aa55cb6).

Files Patch % Lines
...uro-server/src/graphql/resolvers/dataset-search.ts 5.26% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3067      +/-   ##
==========================================
- Coverage   42.22%   42.21%   -0.01%     
==========================================
  Files         601      601              
  Lines       38123    38129       +6     
  Branches     1113     1113              
==========================================
+ Hits        16096    16097       +1     
- Misses      21811    21816       +5     
  Partials      216      216              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nellh nellh merged commit 68e8a44 into master May 29, 2024
8 of 11 checks passed
@nellh nellh deleted the fix-cursor-pagination branch May 29, 2024 20:01
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.

1 participant