You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for the PR! Could you add the release note and a unit test?
Hello 👋
I have added a release note now.
However, I am not sure if I should add another unit test, as there is an existing test which checks the functionality. 🤔
Hello 👋 I have added a release note now. However, I am not sure if I should add another unit test, as there is an existing test which checks the functionality. 🤔
@vedantnaik19 the current test is not that great. Best thing would be to use a mocked Document Store and verify that filter_documents() is called with the correct filters syntax.
As of now it's indirectly testing InMemoryDocumentStore.filter_documents() and that's why we didn't notice it was using the old filters syntax.
Hello 👋 I have added a release note now. However, I am not sure if I should add another unit test, as there is an existing test which checks the functionality. 🤔
@vedantnaik19 the current test is not that great. Best thing would be to use a mocked Document Store and verify that filter_documents() is called with the correct filters syntax.
As of now it's indirectly testing InMemoryDocumentStore.filter_documents() and that's why we didn't notice it was using the old filters syntax.
Hello 👋
I have added a test now. Please let me know if this is OK.
Also, thanks for your previous feedback @silvanocerza@shadeMe 🙌
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
CacheChecker
Component to use new filters internally #7892Proposed Changes:
CacheChecker
component instead of legacy ones.How did you test it?
Notes for the reviewer
N/A
Checklist
fix:
,feat:
,build:
,chore:
,ci:
,docs:
,style:
,refactor:
,perf:
,test:
.