Closed hboylan closed 1 year ago
Hmmm, I'm not able to repro with this setup:
CREATE SCHEMA app_public;
CREATE TABLE app_public.thing (
id serial PRIMARY KEY,
"name" varchar NULL,
created_at timestamptz NULL
);
INSERT INTO app_public.thing VALUES (1, 'one', now());
const http = require("http");
const { postgraphile } = require("postgraphile");
const ConnectionFilterPlugin = require("postgraphile-plugin-connection-filter");
http
.createServer(
postgraphile(
"postgres:///filter_issue_163",
"app_public",
{
appendPlugins: [ConnectionFilterPlugin],
graphiql: true,
enhanceGraphiql: true,
}
)
)
.listen(process.env.PORT || 3000);
(Same operation and variables that you provided, copied into GraphiQL and executed.)
If you can provide more details on your setup I can give it another shot.
Hi @hboylan,
We are facing the same issue, did you find a way to fix it ?
Thanks for you help !
Closing this as stale, but if anyone is able to provide a simple repro, please reach out! :pray:
Defining a root-level filter variable causes a stackoverflow error.
Operation:
Variables:
Error: