Skip to content

Commit

Permalink
feat(core): allow using string values for loadStrategy and flushMode
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Apr 17, 2023
1 parent ea4ffbc commit 9c3e4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/utils/Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ export interface MikroORMOptions<D extends IDatabaseDriver = IDatabaseDriver> ex
useBatchUpdates?: boolean;
batchSize: number;
hydrator: HydratorConstructor;
loadStrategy: LoadStrategy;
loadStrategy: LoadStrategy | 'select-in' | 'joined';
populateWhere: PopulateHint;
flushMode: FlushMode;
flushMode: FlushMode | 'commit' | 'auto' | 'always';
entityRepository?: Constructor;
replicas?: Partial<ConnectionOptions>[];
strict: boolean;
Expand Down

0 comments on commit 9c3e4c4

Please sign in to comment.