-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(material/schematics): add chips template migrator #24601
feat(material/schematics): add chips template migrator #24601
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, overall that seems like a fun migration!
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Outdated
Show resolved
Hide resolved
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Outdated
Show resolved
Hide resolved
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Outdated
Show resolved
Hide resolved
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think this is super clean!
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Outdated
Show resolved
Hide resolved
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Show resolved
Hide resolved
src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.ts
Show resolved
Hide resolved
* impl ChipsTemplateMigrator and added it to list of migrators * remove unnecessary class vars from TemplateMigrator * added onComplete callback to TemplateMigrator to make handling state in TemplateMigrators simpler * unit tested
5a3f7a0
to
b0e7d6b
Compare
* feat(material/schematics): add chips template migrator * refactor some of the template migrator logic * impl ChipsTemplateMigrator and added it to list of migrators * remove unnecessary class vars from TemplateMigrator * unit tested
* feat(material/schematics): add chips template migrator * refactor some of the template migrator logic * impl ChipsTemplateMigrator and added it to list of migrators * remove unnecessary class vars from TemplateMigrator * unit tested
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
handling state in TemplateMigrators simpler