Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same directives with different require accessors are not injected properly #52

Closed
Hotell opened this issue Mar 2, 2016 · 0 comments
Closed
Labels

Comments

@Hotell
Copy link
Member

Hotell commented Mar 2, 2016

in angular it's possible to inject same type of directives by require directive on itself and on parent via:
{require:['ngModel','^^ngModel']}

If I try do that within ngMetadata constructor I've got unefined formProvider

class SomeAttrDirective{
constructor(
  @Inject('form') @Self() form,
  @Inject('form') @SkipSelf() parentForm
){}
}
@Hotell Hotell added the bug label Mar 2, 2016
@Hotell Hotell closed this as completed in 7776400 Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant