diff --git a/packages/plugin/src/decorators.ts b/packages/plugin/src/decorators.ts index 6ced8904..1fc3d6c4 100644 --- a/packages/plugin/src/decorators.ts +++ b/packages/plugin/src/decorators.ts @@ -81,7 +81,6 @@ export function config(metadata: interfaces.ConfigMetadata = {}) { let previousMetadata = getPluginConfigMetadata(target) previousMetadata.set(metadata.name, metadata) Reflect.defineMetadata(METADATA_KEY.config, previousMetadata, target.constructor) - Reflect.defineMetadata(METADATA_KEY.config, metadata, target[key]) } }