mirror: read from EAV tables by default (#1344)

Summary:
This flips the switch for all production `Mirror` reads to use the
single `primitives` EAV table as their source of truth, rather than the
legacy type-specific primitives tables. For context and design
discussion, see issue #1313 and commits adjacent to this one.

Test Plan:
All relevant code paths are already tested (see test plans of commits
adjacent to this one). Running `yarn test --full` passes.

wchargin-branch: mirror-eav-flip
This commit is contained in:
William Chargin 2019-10-12 11:28:55 -07:00 committed by GitHub
parent e5a77488de
commit 809fd23def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1646,7 +1646,7 @@ export class Mirror {
options?: {|+useEavPrimitives?: boolean|}
): mixed {
const fullOptions = {
...{useEavPrimitives: false},
...{useEavPrimitives: true},
...(options || {}),
};
const db = this._db;