postgraphile-plugin-fulltext-filter
postgraphile-plugin-fulltext-filter copied to clipboard
not compatible with latest filter plugin
Super excited to use this plugin by the way! I wasn't able to see the tsvector field in my filter, so I dug into a bit, and believe there is an issue when the postgraphile-plugin-connection-filter
version 2.0.0
is used.
Looks like the FullTextFilter
was removed.
Received value does not match stored snapshot "table with unfiltered full-text field works 1".
- Snapshot
+ Received
@@ -24,11 +24,10 @@
"DeleteJobByIdInput": "DeleteJobByIdInput",
"DeleteJobInput": "DeleteJobInput",
"DeleteJobPayload": "DeleteJobPayload",
"Float": "Float",
"FullText": "FullText",
- "FullTextFilter": "FullTextFilter",
"ID": "ID",
"Int": "Int",
"IntFilter": "IntFilter",
"Job": "Job",
"JobCondition": "JobCondition"
I'll keep digging to see if I find a fix, will report here.
I found a breaking change here https://github.com/graphile-contrib/postgraphile-plugin-connection-filter/commit/645b43e10f0a998a56dd9c7b0f76608395199a14 that @mattbretl mentions a change to addConnectionFilterOperator
.
Maybe this is related https://github.com/mlipscombe/postgraphile-plugin-fulltext-filter/blob/c780ff524da1ab691d843300bae34f60dfd83d83/src/PostgraphileFullTextFilterPlugin.js#L82