MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / mergeConfig

Method mergeConfig

packages/core/src/utils/Utils.ts:287–289  ·  view source on GitHub ↗

* Merges all sources into the target recursively. Ignores `undefined` values.

(target: T, ...sources: Dictionary[])

Source from the content-addressed store, hash-verified

285 * Merges all sources into the target recursively. Ignores `undefined` values.
286 */
287 static mergeConfig<T>(target: T, ...sources: Dictionary[]): T {
288 return Utils._merge(target, sources, true);
289 }
290
291 /**
292 * Merges all sources into the target recursively.

Callers 15

mapOptionsMethod · 0.80
mapOptionsMethod · 0.80
mapOptionsMethod · 0.80
constructorMethod · 0.80
mergePropertyFiltersMethod · 0.80
loadFromCacheMethod · 0.80
getConfigurationMethod · 0.80
createKyselyDialectMethod · 0.80
mapOptionsMethod · 0.80
mapOptionsMethod · 0.80
EntityFunction · 0.80
ManyToManyFunction · 0.80

Calls 1

_mergeMethod · 0.80

Tested by

no test coverage detected