postgraphile-plugin-connection-filter
postgraphile-plugin-connection-filter copied to clipboard
Filtering on PostGraphile connections
Hey guys I am using the filter and its an absolute game changer. However I cannot append buildOptions that I'm aware. `npx postgraphile -c 'postgres://hutber:pass@localhost/unsal' --cors -p 4006 --watch --enhance-graphiql...
Defining a root-level filter variable causes a stackoverflow error. Operation: ```graphql query AllThings($filter: ThingFilter) { allThings(filter: $filter) { nodes { ...thing } } } fragment thing on Thing { id...
Hi, Is there support for notOverlaps and notContains for array type column? Also, above stuff in insensitive form?
Currently I have the query ```sql create index on pub.product using gin (title gin_trgm_ops); select title from pub.product where title %> 'search phrase' order by title > 'search phrase'; ```...
Would it be difficult to support for the operators here? https://www.postgresql.org/docs/14/pgtrgm.html Would it be as simple as adding in something like: ``` similarityGreaterThan: { description: "Value has a similarity that...
Right now filtering on primary and foreign keys work with the actual values from the database. This leaks an implementation detail and might be cumbersome to deal with if the...
Computed columns support functions and will expose the new field as a filter as long as there are no required arguments. Providing defaults for the arguments will allow the function...
Hi Matt, thanks for the great plugin. I was wondering if it's possible to add type cast option into the filter. In our project, we think to store different types...
Would you be willing to export connectionFilterScalarOperators in https://github.com/graphile-contrib/postgraphile-plugin-connection-filter ? We are trying to write the glue between react-admin and postgraphile. See the discussion here for some extra details https://github.com/BowlingX/ra-postgraphile/pull/17#discussion_r436332567...
Thank you for making this amazing library! I wonder what's the reason for not supporting table types in computed columns? https://github.com/graphile-contrib/postgraphile-plugin-connection-filter/blob/acc7d5c8c6301ba17ed1ddd427645a37a4260f29/src/PgConnectionArgFilterComputedColumnsPlugin.js#L61