gristlabs_grist-core/test/nbrowser
Paul Fitzpatrick d7b3fb972c (core) upgrade typeorm so we can support newer postgres
Summary:
upgrade typeorm version, so Grist can run against newer versions of postgres.

Dusted off some old benchmarking code to verify that important queries don't get slower. They don't appear to, unlike for some intermediate versions of typeorm I tried in the past.

Most of the changes are because `findOne` changed how it interprets its arguments, and the value it returns when nothing is found. For the return value, I stuck with limiting its impact by emulating old behavior (returning undefined rather than null) rather than propagating the change out to parts of the code unrelated to the database.

Test Plan: existing tests pass; manual testing with postgres 10 and 14

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3613
2022-09-02 15:34:21 -04:00
..
ActionLog.ts (core) Use different user in ActionLog tests 2022-05-05 14:04:03 -07:00
ChoiceList.ts Add tests for autocomplete without accents 2022-08-17 19:11:52 +02:00
DuplicateDocument.ts (core) Removing duplicated tests 2022-08-19 10:29:53 +02:00
Fork.ts (core) Miscellaneous little logging improvements 2022-07-15 00:21:44 +02:00
gristUtils.ts (core) upgrade typeorm so we can support newer postgres 2022-09-02 15:34:21 -04:00
HomeIntro.ts (core) Removing viewer tests from HomeIntro deployment tests 2022-08-03 19:47:49 +02:00
homeUtil.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
Pages.ts feat: add tests for feature 2022-08-08 13:30:12 +02:00
ReferenceColumns.ts Add tests for autocomplete without accents 2022-08-17 19:11:52 +02:00
ReferenceList.ts (core) updates from grist-core 2022-08-22 10:23:26 -04:00
Smoke.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
testServer.ts Skipping tests that can't be run on external server. 2022-08-12 17:23:22 +02:00
testUtils.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00