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

Filter out removed documents from ListDocuments API #563

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

hackerwins
Copy link
Member

@hackerwins hackerwins commented Jun 28, 2023

What this PR does / why we need it:

Filter out removed documents from ListDocuments API

Previously, removed documents were exposed in the document list of CLI or Dashboard.
This commit ensures that removed documents are removed from the list, making it appears as if they are properly removed.

Which issue(s) this PR fixes:

Related to #464

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation:


Checklist:

  • Added relevant tests or not required
  • Didn't break anything

@hackerwins hackerwins force-pushed the filter-out-removed-documents branch 2 times, most recently from 6116e17 to 99ce519 Compare June 28, 2023 03:24
@hackerwins hackerwins force-pushed the filter-out-removed-documents branch from 99ce519 to a2cc85d Compare June 28, 2023 03:26
@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #563 (a2cc85d) into main (525cacf) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #563      +/-   ##
==========================================
+ Coverage   52.25%   52.27%   +0.02%     
==========================================
  Files          67       67              
  Lines        6794     6797       +3     
==========================================
+ Hits         3550     3553       +3     
  Misses       2806     2806              
  Partials      438      438              
Impacted Files Coverage Δ
server/backend/database/memory/database.go 53.26% <100.00%> (ø)
server/backend/database/mongo/client.go 38.01% <100.00%> (+0.23%) ⬆️

@hackerwins hackerwins marked this pull request as ready for review June 28, 2023 03:38
@hackerwins hackerwins merged commit 7eee551 into main Jun 28, 2023
@hackerwins hackerwins deleted the filter-out-removed-documents branch June 28, 2023 03:39
@window9u window9u mentioned this pull request Dec 28, 2024
3 tasks
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