Skip to content

Only implement verification for CollectionQuery types#6319

Merged
coszio merged 3 commits intostrict-mode-for-formulasfrom
only-implement-verification-for-collection-query
Apr 4, 2025
Merged

Only implement verification for CollectionQuery types#6319
coszio merged 3 commits intostrict-mode-for-formulasfrom
only-implement-verification-for-collection-query

Conversation

@coszio
Copy link
Copy Markdown
Contributor

@coszio coszio commented Apr 3, 2025

I noticed there was duplication in the implementation of StrictModeVerification trait for query request types.

We already have a converging type for rest and grpc for query requests, so we can implement the trait only for this converging type.

By unifying, this also fixes a hole where we were not checking the prefetches when using the grpc interface.

@coszio coszio requested review from JojiiOfficial and agourlay April 3, 2025 18:41
Copy link
Copy Markdown
Contributor

@JojiiOfficial JojiiOfficial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Copy Markdown
Member

@agourlay agourlay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏆

@coszio coszio merged commit d0879fd into strict-mode-for-formulas Apr 4, 2025
16 checks passed
@coszio coszio deleted the only-implement-verification-for-collection-query branch April 4, 2025 14:08
coszio added a commit that referenced this pull request Apr 4, 2025
* verify CollectionQuery's Prefetch

* remove implementation for REST query

* remove implementation for REST query groups
coszio added a commit that referenced this pull request Apr 4, 2025
* move problems.rs to collection crate

* change type on datetime_key expression

* extract from expression

* check for unindexed fields in formula

* clippy

* dedup code

* Only implement verification for `CollectionQuery` types (#6319)

* verify CollectionQuery's Prefetch

* remove implementation for REST query

* remove implementation for REST query groups

* add basic openapi test
pull Bot pushed a commit to kp-forks/qdrant that referenced this pull request Apr 21, 2025
…t#6317)

* move problems.rs to collection crate

* change type on datetime_key expression

* extract from expression

* check for unindexed fields in formula

* clippy

* dedup code

* Only implement verification for `CollectionQuery` types (qdrant#6319)

* verify CollectionQuery's Prefetch

* remove implementation for REST query

* remove implementation for REST query groups

* add basic openapi test
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.

3 participants