From c462108e0ec02b4b7ddfcaffb38a91a35f549d25 Mon Sep 17 00:00:00 2001 From: amura11 Date: Fri, 18 Jun 2021 11:12:06 -0600 Subject: [PATCH] Added code to fix #536 Added a call to forward metadata from the provided object's prototype --- src/reflect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reflect.ts b/src/reflect.ts index ab65dff..7cb3f6b 100644 --- a/src/reflect.ts +++ b/src/reflect.ts @@ -13,6 +13,7 @@ export function copyReflectionMetadata ( from: VueClass ) { forwardMetadata(to, from) + forwardMetadata(to.prototype, from.prototype) Object.getOwnPropertyNames(from.prototype).forEach(key => { forwardMetadata(to.prototype, from.prototype, key)