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:
parent
e5a77488de
commit
809fd23def
|
@ -1646,7 +1646,7 @@ export class Mirror {
|
||||||
options?: {|+useEavPrimitives?: boolean|}
|
options?: {|+useEavPrimitives?: boolean|}
|
||||||
): mixed {
|
): mixed {
|
||||||
const fullOptions = {
|
const fullOptions = {
|
||||||
...{useEavPrimitives: false},
|
...{useEavPrimitives: true},
|
||||||
...(options || {}),
|
...(options || {}),
|
||||||
};
|
};
|
||||||
const db = this._db;
|
const db = this._db;
|
||||||
|
|
Loading…
Reference in New Issue