From 27e26e99aa8f59bca0ad1f090e17f3cb38e93c72 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 23 Jan 2018 11:15:13 -0800 Subject: [PATCH] fix(context): pass metadata to `@inject.tag` --- packages/context/src/inject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/context/src/inject.ts b/packages/context/src/inject.ts index 0166cc0810eb..bc5410fe477a 100644 --- a/packages/context/src/inject.ts +++ b/packages/context/src/inject.ts @@ -211,7 +211,7 @@ export namespace inject { {decorator: '@inject.tag', tag: bindingTag}, metadata, ); - return inject('', {tag: bindingTag}, resolveByTag); + return inject('', metadata, resolveByTag); }; /**