reflect-metadata
reflect-metadata copied to clipboard
Is there a way to get all metadata defined for a key, but not a specific target?
Seems like it would make sense to offer something that can do this. Reflect is already tracking the data of keys to types for data.
AFAIK this is not possible because internally, a WeakMap is used and indexed by target. WeakMaps can not be iterated over.