Skip to main content
Version: 4.5

Class: MetadataProvider#

core.MetadataProvider

Hierarchy#

Constructors#

constructor#

+ new MetadataProvider(config: IConfiguration): MetadataProvider

Parameters:#

NameType
configIConfiguration

Returns: MetadataProvider

Defined in: packages/core/src/metadata/MetadataProvider.ts:9

Properties#

config#

Protected Readonly config: IConfiguration

Methods#

initProperties#

ProtectedinitProperties(meta: EntityMetadata<any>, fallback: (prop: EntityProperty<any>) => void | Promise<void>): Promise<void>

Parameters:#

NameType
metaEntityMetadata<any>
fallback(prop: EntityProperty<any>) => void | Promise<void>

Returns: Promise<void>

Defined in: packages/core/src/metadata/MetadataProvider.ts:23


loadEntityMetadata#

AbstractloadEntityMetadata(meta: EntityMetadata<any>, name: string): Promise<void>

Parameters:#

NameType
metaEntityMetadata<any>
namestring

Returns: Promise<void>

Defined in: packages/core/src/metadata/MetadataProvider.ts:13


loadFromCache#

loadFromCache(meta: EntityMetadata<any>, cache: EntityMetadata<any>): void

Parameters:#

NameType
metaEntityMetadata<any>
cacheEntityMetadata<any>

Returns: void

Defined in: packages/core/src/metadata/MetadataProvider.ts:15


useCache#

useCache(): boolean

Returns: boolean

Defined in: packages/core/src/metadata/MetadataProvider.ts:19

Last updated on by Renovate Bot