Skip to content

Empty the circular dependencies golden#59083

Closed
alxhub wants to merge 11 commits intoangular:mainfrom
alxhub:refactor/remove-circular-deps
Closed

Empty the circular dependencies golden#59083
alxhub wants to merge 11 commits intoangular:mainfrom
alxhub:refactor/remove-circular-deps

Conversation

@alxhub
Copy link
Copy Markdown
Member

@alxhub alxhub commented Dec 5, 2024

Collection of commits which use import type to remove every existing circular dependency exception.

alxhub added 10 commits December 5, 2024 13:14
Use `import type` to break a phantom import cycle.
Use `import type` to break a phantom circular import in the output AST in
the compiler.
Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.
Use `import type` to break a phantom circular import in iterable differs.
Use `import type` to break a phantom circular import in the DI code.
Use `import type` to break a phantom circular import in the runtime
definition of `ComponentFactory` and `ComponentFactoryResolver`.
Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.
Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.
Use `import type` to break phantom circular imports for
`RouterOutletContext`.
Use `import type` to break phantom circular imports for router model
definitions.
@pullapprove pullapprove bot requested a review from AndrewKushnir December 5, 2024 21:26
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime area: router labels Dec 5, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 5, 2024
@thePunderWoman
Copy link
Copy Markdown
Contributor

As soon as this lands, I'll add the new goldens for rhombular dependencies.

Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup 👍

Use `import type` to break phantom circular imports for the router
navigation implementation.
@alxhub alxhub force-pushed the refactor/remove-circular-deps branch from b389cd2 to e6261c6 Compare December 5, 2024 23:08
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime and removed area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime labels Dec 5, 2024
@alxhub alxhub added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Dec 5, 2024
@alxhub
Copy link
Copy Markdown
Member Author

alxhub commented Dec 5, 2024

As soon as this lands, I'll add the new goldens for rhombular dependencies.

Diamond dependencies are known to cause lots of problems, though...

@alxhub
Copy link
Copy Markdown
Member Author

alxhub commented Dec 6, 2024

This PR was merged into the repository by commit 4a0c6cd.

The changes were merged into the following branches: main, 19.0.x

@alxhub alxhub closed this in 2e907ea Dec 6, 2024
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the output AST in
the compiler.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
)

Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
…#59083)

Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break phantom circular imports for
`RouterOutletContext`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
…9083)

Use `import type` to break phantom circular imports for router model
definitions.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break phantom circular imports for the router
navigation implementation.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
…59083)

Use `import type` to break a phantom import cycle.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the output AST in
the compiler.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in iterable differs.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the DI code.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break a phantom circular import in the runtime
definition of `ComponentFactory` and `ComponentFactoryResolver`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
)

Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
…#59083)

Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break phantom circular imports for
`RouterOutletContext`.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
…9083)

Use `import type` to break phantom circular imports for router model
definitions.

PR Close #59083
alxhub added a commit that referenced this pull request Dec 6, 2024
Use `import type` to break phantom circular imports for the router
navigation implementation.

PR Close #59083
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Jan 6, 2025
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
)

Use `import type` to break a phantom circular import in the output AST in
the compiler.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
)

Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
Use `import type` to break a phantom circular import in iterable differs.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
Use `import type` to break a phantom circular import in the DI code.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…lar#59083)

Use `import type` to break a phantom circular import in the runtime
definition of `ComponentFactory` and `ComponentFactoryResolver`.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…ular#59083)

Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…angular#59083)

Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…#59083)

Use `import type` to break phantom circular imports for
`RouterOutletContext`.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…gular#59083)

Use `import type` to break phantom circular imports for router model
definitions.

PR Close angular#59083
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…lar#59083)

Use `import type` to break phantom circular imports for the router
navigation implementation.

PR Close angular#59083
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 area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime area: router target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants