We should type this. (We use types from the mysql library because mysql2 is meant to be a drop-in replacement, and there is no Flow libdef for mysql2.)
Depends on D4515
Paths
| Differential D4529 Authored by ashoat on Jul 13 2022, 4:50 PM.
Details Summary We should type this. (We use types from the mysql library because mysql2 is meant to be a drop-in replacement, and there is no Flow libdef for mysql2.) Depends on D4515 Test Plan Flow
Diff Detail
Event TimelineHerald added subscribers: • abosh, • adrian. · View Herald TranscriptJul 13 2022, 4:50 PM2022-07-13 16:50:34 (UTC-7) ashoat added a child revision: D4516: [keyserver] Add dbType to DBConfig.Jul 13 2022, 4:57 PM2022-07-13 16:57:00 (UTC-7) Comment Actions Make PoolOptions and ConnectionOptions exact objects to be consistent with this runtime warning we get from mysql2:
Harbormaster completed remote builds in B10501: Diff 14449.Jul 13 2022, 5:02 PM2022-07-13 17:02:57 (UTC-7) Harbormaster completed remote builds in B10503: Diff 14451.Jul 13 2022, 5:11 PM2022-07-13 17:11:04 (UTC-7) This revision is now accepted and ready to land.Jul 14 2022, 9:54 AM2022-07-14 09:54:23 (UTC-7) Closed by commit rCOMMd402dc57f2e8: [keyserver] Type ConnectionOptions passed to mysql2 library (authored by ashoat). · Explain WhyJul 17 2022, 8:13 PM2022-07-17 20:13:44 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 14546 keyserver/flow-typed/npm/mysql_v2.x.x.js
keyserver/src/database/database.js
|