Skip to main content
Version: Next

MetadataProvider

Base metadata provider that resolves entity type information and manages metadata caching.

Hierarchy

Index

Constructors

constructor

Methods

combineCache

  • combineCache(): void
  • Combines individual metadata cache entries into a single file.


    Returns void

getCachedMetadata

getCacheKey

  • getCacheKey(meta): string
  • Returns the cache key for the given entity metadata.


    Parameters

    Returns string

loadEntityMetadata

  • loadEntityMetadata(meta): void
  • Resolves entity references and type information for all properties in the given metadata.


    Parameters

    Returns void

loadFromCache

  • loadFromCache(meta, cache): void

saveToCache

  • saveToCache(meta): void

useCache

  • useCache(): boolean
  • Whether metadata caching is enabled for this instance.


    Returns boolean

staticuseCache

  • useCache(): boolean
  • Whether this provider class uses metadata caching by default.


    Returns boolean