Skip to content

fix(icon): remove duplicate icon registry provider #11214

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

Merged
merged 1 commit into from
May 8, 2018

Conversation

jelbourn
Copy link
Member

@jelbourn jelbourn commented May 7, 2018

No description provided.

@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label May 7, 2018
@jelbourn jelbourn requested review from crisbeto and tinayuangao May 7, 2018 23:56
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label May 7, 2018
@@ -16,6 +16,5 @@ import {ICON_REGISTRY_PROVIDER} from './icon-registry';
imports: [MatCommonModule],
exports: [MatIcon, MatCommonModule],
declarations: [MatIcon],
providers: [ICON_REGISTRY_PROVIDER],
Copy link
Contributor

Choose a reason for hiding this comment

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

Where's the other provider?

Copy link
Member

Choose a reason for hiding this comment

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

My guess is that it's a duplicate because the thing it provides (MatIconRegistry) is now a tree-shakeable provider

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn force-pushed the icon-provider-dupe branch from 93be294 to c3456a5 Compare May 8, 2018 04:06
@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label May 8, 2018
@jelbourn jelbourn removed the request for review from crisbeto May 8, 2018 04:34
@jelbourn jelbourn merged commit 67a6aa1 into angular:master May 8, 2018
jelbourn added a commit to jelbourn/components that referenced this pull request May 14, 2018
@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants