graphile-contrib/postgraphile-plugin-connection-filter

Doesn't generate schema filter columns except for id

UchihaVeha opened this issue · 1 comments

SQL:

create table public.auctions (
  id serial Primary key,
  name text not null default '',
  test int,
  "bool" bool,
);

generated schema:

input AuctionFilter {
  """Filter by the object’s `id` field."""
  id: IntFilter

  """Checks for all expressions in this list."""
  and: [AuctionFilter!]

  """Checks for any expressions in this list."""
  or: [AuctionFilter!]

  """Negates the expression."""
  not: AuctionFilter
}

"""An input for mutations affecting `Auction`"""
input AuctionInput {
  id: Int
  name: String
  test: Int
  bool: Boolean
}
  "postgraphile": "^4.7.0",
  "postgraphile-plugin-connection-filter": "^2.0.0",

I found solution need switch in config ignoreIndexes: false to ignoreIndexes: true, I think it should be documented