Closed benjie closed 1 year ago
Workaround: add this to your graphile.config.mjs:
gather: {
installWatchFixtures: false
}
And install the watch fixtures yourself: https://github.com/benjie/postgraphile-private/blob/planning/graphile-build/graphile-build-pg/src/watchFixtures.ts
So pgSources
on config refers to the database configuration: GraphileConfig.PgDatabaseConfiguration
It does not refer to the PgSource
class from @dataplan/pg
This is hugely confusing. I'm going to rename pgSources
to pgConfigs
.
HT @TimoStolz
Watch fixtures should be installed for each executor, not for each pgSource. (Maybe even figure out the unique databases that the executors relate to - e.g. turn them all into connection strings and then unique those?)