Skip to content

Commit

Permalink
fix(context): pass metadata to @inject.tag
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Feb 6, 2018
1 parent 22e4b49 commit 27e26e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/context/src/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export namespace inject {
{decorator: '@inject.tag', tag: bindingTag},
metadata,
);
return inject('', {tag: bindingTag}, resolveByTag);
return inject('', metadata, resolveByTag);
};

/**
Expand Down

0 comments on commit 27e26e9

Please sign in to comment.