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

fix(core): handle symbol in migration path and infer angular material and cdk migration type correctly #16538

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Apr 25, 2023

Current Behavior

The nx migrate command throws when a migration path contains the exported migration function symbol.
The nx migrate command doesn't identify migrations from Angular Material and Angular CDK as migrations implemented with the Angular DevKit.

Expected Behavior

The nx migrate command should support migration paths containing the exported migration function symbol.
The nx migrate command should correctly identify Angular Material and Angular CDK as migrations implemented with the Angular DevKit.

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Apr 25, 2023
@vercel
Copy link

vercel bot commented Apr 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2023 3:43pm

@leosvelperez leosvelperez force-pushed the core/fix-migrations-path-resolution-and-type-inference branch from b0a214f to 9dfaccb Compare April 25, 2023 14:15
@leosvelperez leosvelperez marked this pull request as ready for review April 25, 2023 14:15
@leosvelperez leosvelperez enabled auto-merge (squash) April 25, 2023 14:34
@AgentEnder
Copy link
Member

@leosvelperez I think if you rebase this it should go through

@leosvelperez leosvelperez force-pushed the core/fix-migrations-path-resolution-and-type-inference branch from 9dfaccb to 5cc9f7b Compare April 25, 2023 15:22
@leosvelperez leosvelperez force-pushed the core/fix-migrations-path-resolution-and-type-inference branch from 5cc9f7b to 5316b66 Compare April 25, 2023 15:37
@leosvelperez leosvelperez merged commit 85366d5 into nrwl:master Apr 25, 2023
@leosvelperez leosvelperez deleted the core/fix-migrations-path-resolution-and-type-inference branch April 25, 2023 16:38
@github-actions
Copy link

github-actions bot commented May 1, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants