Version: 4.3

Class: ReflectMetadataProvider

Hierarchy

Constructors

constructor

+ new ReflectMetadataProvider(config: IConfiguration): ReflectMetadataProvider

Inherited from MetadataProvider.constructor

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

Parameters:

NameType
configIConfiguration

Returns: ReflectMetadataProvider

Properties

config

Protected Readonly config: IConfiguration

Inherited from MetadataProvider.config

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

Methods

initProperties

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

Inherited from MetadataProvider.initProperties

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

Parameters:

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

Returns: Promise<void>


initPropertyType

ProtectedinitPropertyType(meta: EntityMetadata, prop: EntityProperty): void

Defined in packages/core/src/metadata/ReflectMetadataProvider.ts:12

Parameters:

NameType
metaEntityMetadata
propEntityProperty

Returns: void


loadEntityMetadata

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

Overrides MetadataProvider.loadEntityMetadata

Defined in packages/core/src/metadata/ReflectMetadataProvider.ts:8

Parameters:

NameType
metaEntityMetadata
namestring

Returns: Promise<void>


loadFromCache

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

Inherited from MetadataProvider.loadFromCache

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

Parameters:

NameType
metaEntityMetadata
cacheEntityMetadata

Returns: void


useCache

useCache(): boolean

Inherited from MetadataProvider.useCache

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

Returns: boolean

Last updated on by Martin Adámek