Skip to content

Commit 8192be6

Browse files
committed
chore: remove deprecated conditionPrefix property, no backwards compat needed
1 parent 413171e commit 8192be6

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

graphile/graphile-pgvector-plugin/src/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,4 @@ export interface VectorSearchPluginOptions {
3535
* @default 'vector'
3636
*/
3737
filterPrefix?: string;
38-
39-
/**
40-
* @deprecated Use `filterPrefix` instead. Kept for backwards compatibility.
41-
*/
42-
conditionPrefix?: string;
4338
}

graphile/graphile-pgvector-plugin/src/vector-search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function createVectorSearchPlugin(
130130
const {
131131
defaultMetric = 'COSINE',
132132
maxLimit = 100,
133-
filterPrefix = options.conditionPrefix ?? 'vector',
133+
filterPrefix = 'vector',
134134
} = options;
135135

136136
return {

0 commit comments

Comments
 (0)