Matt Bretl

Results 25 comments of Matt Bretl

Fair warning, that was one of the first plugins that I cobbled together.. I'd like to rewrite it using makeWrapResolversPlugin at some point.

I'm not familiar with `pg_trgm`, but it should definitely be doable. As a starting point, consider looking at https://github.com/graphile-contrib/postgraphile-plugin-connection-filter-postgis which extends this plugin with PostGIS-specific operators.

Caveat: if you need `ORDER BY`, there'll be more work involved. This plugin is only concerned with augmenting the `WHERE` clause.

:+1: I can see that being useful. I don't have the bandwidth to tackle this right now, but would definitely welcome a PR.

Hey @SlashKirill, I'm not sure if this is still relevant given how much time has passed, but if so.. I'd suggest writing a small plugin that uses the [addConnectionFilterOperator](https://github.com/graphile-contrib/postgraphile-plugin-connection-filter/blob/master/src/PgConnectionArgFilterPlugin.ts#L437-L481) method...

I don't have any plans to implement this due to the level of effort required. Sorry! If anyone wants to take a shot at it, these three files contain most...

Could you expand on how you would want to filter on `nodeId`? Anything beyond `equalTo`/`notEqualTo`/`in`/`notIn`? I'm thinking anything outside of those wouldn't make sense for what's supposed to be an...

Interesting. I don't believe that's been requested before. The main barrier to implementation is the fact that GraphQL doesn't support input unions ([yet](https://github.com/graphql/graphql-wg/commit/430951adb83be4f249a1dc1b21c5c0fea040fc8b#diff-b86123913cc3eeab334f69e7a6a50e84R53)). If we assume that `column1` represents an...

@higherorderfunctor In general, I would recommend a backend solution for that (either a [PostGraphile computed column](https://www.graphile.org/postgraphile/computed-columns/) or a trigger-populated column, depending on performance needs), but I'm willing to take a...

Tentatively yes, though I would publish it as a separate package with a dependency on this plugin. For v2, I plan to move several features into separate plugins.