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

feat(compiler): introduce generated injectors #9053

Closed
wants to merge 2 commits into from

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented Jun 6, 2016

First part that only adds features but does not use them yet.

try {
return this.getInjectorMetadata(someType, []);
} catch (e) {
if (e.message.indexOf('No InjectorConfig annotation') !== -1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be an instanceof test ? (add todo)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't have a special error class here. Same as in maybeGetDirectiveMetadata...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't have a special error class here

The question is should we ?

@tbosch tbosch force-pushed the gen_injector branch 5 times, most recently from ccccd66 to fd75b27 Compare June 7, 2016 19:50
This commit is just adding them, but not using them yet for bootstrap.

Related to angular#8997
});

it('should support property providers',
() => { var inj = SomeConfigInjectorFactory.create(null, new SomeConfig()); });
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing ing.get??

@tbosch
Copy link
Contributor Author

tbosch commented Jun 8, 2016

We won't do this for now.

@tbosch tbosch closed this Jun 8, 2016
@tbosch tbosch deleted the gen_injector branch July 7, 2016 22:42
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants