Skip to content

Filter out empty filter conditions from gRPC - #5690

Merged
generall merged 2 commits into
devfrom
fix-grpc-empty-condition-error
Dec 24, 2024
Merged

generall merged 2 commits into
devfrom
fix-grpc-empty-condition-error

Conversation

@timvisee

Copy link
Copy Markdown
Member

Fixes qdrant/rust-client#205

Filter out empty gRPC filter conditions, rather than throwing an error. This was very easily triggered with Condition::default() in our Rust client.

Filtering out the condition so it is a 'match all' is probably better and is what users might expect from it.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@generall
generall merged commit db80432 into dev Dec 24, 2024
@generall
generall deleted the fix-grpc-empty-condition-error branch December 24, 2024 21:36
timvisee added a commit that referenced this pull request Jan 8, 2025
* Filter out empty filter conditions from gRPC rather than error

* Link pull request
@timvisee timvisee mentioned this pull request Jan 8, 2025
@timvisee
timvisee restored the fix-grpc-empty-condition-error branch January 15, 2025 13:45
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.

2 participants