graphile-contrib / postgraphile-plugin-connection-filter

Filtering on PostGraphile connections
MIT License
286 stars 32 forks source link

V5 - Composite type filters are ignored #211

Open FuJa0815 opened 4 months ago

FuJa0815 commented 4 months ago

With this example db:

CREATE TYPE position_type AS (
    address TEXT,
    lat FLOAT,
    lon FLOAT
);

CREATE TABLE house (
    id SERIAL PRIMARY KEY,
    position position_type
);

INSERT INTO house (position) VALUES (('Some location', 0, 0));

It generates this schema: image

But settings filters for address does not affect the generated SQL.

It would be great to be able to filter columns of composite types, or to remove the generation of these filters as they are misleading