Version: 4.3

Class: MetadataProvider

Hierarchy

Constructors

constructor

+ new MetadataProvider(config: IConfiguration): MetadataProvider

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

Parameters:

NameType
configIConfiguration

Returns: MetadataProvider

Properties

config

Protected Readonly config: IConfiguration

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

Methods

initProperties

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

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

Parameters:

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

Returns: Promise<void>


loadEntityMetadata

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

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

Parameters:

NameType
metaEntityMetadata
namestring

Returns: Promise<void>


loadFromCache

loadFromCache(meta: EntityMetadata, cache: EntityMetadata): void

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

Parameters:

NameType
metaEntityMetadata
cacheEntityMetadata

Returns: void


useCache

useCache(): boolean

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

Returns: boolean

Last updated on by Martin Adámek