tbls icon indicating copy to clipboard operation
tbls copied to clipboard

Listing functions doesn't respect include filter

Open LKajan opened this issue 2 years ago • 1 comments

What happened

In my .tbls.yml config file I have set include filter as

include:
  - mychema.*

The generated docs still includes all the functions (750 in my case) from the public schema (installed by an extension).

What you expected to happened

Listed functions should also respect include/exclude filters.

What stack trace or error message from tbls did you see?

No actual error

Anything else we need to know?

Not really

Environment

  • tbls 1.65.3 (docker k1low/tbls:latest)
  • PostgreSQL 12 with a PostGIS extensions
  • Ubuntu 22.04.2 LTS

LKajan avatar May 08 '23 07:05 LKajan

include: and exclude: are supported for table names only. Maybe we need another configuration for filtering the functions.

k1LoW avatar Jun 15 '23 21:06 k1LoW