If the user intends to use DBIx::SB for only a specific schema, this can
save some time on the initial field population process.
Allow for limiting tables to a db schema during field introspection
Can you write tests for this?
Sure. Any guidance as to where and how I should approach it? Thanks.
I assume you ran into a failure case related to either external use of ->HasField / ->Fields or an internal bug in SB's DistinctQuery handling on Pg when column_info wasn't limited to a schema. A test case would show why it's useful (i.e. an example circumstance where it matters) and that it actually works.
The issue we ran into was speed-related only, so I can't really write a failing test. However, I'll write a test to ensure the change doesn't affect anything.
Test that setting $DBSchema successfully limits field introspection