Open jbpros opened 6 years ago
At the moment, the store expects its pool to be injected. It should deal with connecting to Postres itself (the pool constructor should still be injected).
pgPool = getPgPool(config.databaseUrl(), config.databaseSSL()) eventStore = new PgEventStore({ pgPool, logError, deserialize, tableName: 'events', })
We're not sure yet this is needed, really :)
At the moment, the store expects its pool to be injected. It should deal with connecting to Postres itself (the pool constructor should still be injected).