-
Notifications
You must be signed in to change notification settings - Fork 26.3k
refactor(ivy): remove dependency of Injector on Ivy #28066
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
refactor(ivy): remove dependency of Injector on Ivy #28066
Conversation
You can preview 8535148 at https://pr28066-8535148.ngbuilds.io/. |
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
You can preview 82f522c at https://pr28066-82f522c.ngbuilds.io/. |
You can preview 778e791 at https://pr28066-778e791.ngbuilds.io/. |
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, just a few nits
You can preview ee61217 at https://pr28066-ee61217.ngbuilds.io/. |
ee61217
to
a6884a4
Compare
You can preview a6884a4 at https://pr28066-a6884a4.ngbuilds.io/. |
You can preview 05514a5 at https://pr28066-05514a5.ngbuilds.io/. |
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
You can preview d306f25 at https://pr28066-d306f25.ngbuilds.io/. |
You can preview 6daa87d at https://pr28066-6daa87d.ngbuilds.io/. |
You can preview 1869767 at https://pr28066-1869767.ngbuilds.io/. |
This change is a prerequasity for a later change which will turn the 'di' into its own bazel package. In order to do that we have to: - have `Injector` type be importable by Ivy. This means that we need to create `Injector` as a pure type in `interface` folder which is already a bazel package which Ivy can depend on. - Remove the dependency of `class Injector` on Ivy so that it can be compiled in isolation. We do that by using `-1` as special value for `__NG_ELEMENT_ID__` which tells the Ivy `NodeInjector` than `Injector` is being requested.
1946dc6
to
afe2800
Compare
CLAs look good, thanks! |
You can preview 1946dc6 at https://pr28066-1946dc6.ngbuilds.io/. |
You can preview afe2800 at https://pr28066-afe2800.ngbuilds.io/. |
You can preview 2e44e3c at https://pr28066-2e44e3c.ngbuilds.io/. |
You can preview 7003c66 at https://pr28066-7003c66.ngbuilds.io/. |
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. |
This change is a prerequasity for a later change which will turn the
'di' into its own bazel package. In order to do that we have to:
class Injector
on Ivy so that it can becompiled in isolation. We do that by using
-1
as special value for__NG_ELEMENT_ID__
which tells the IvyNodeInjector
thanInjector
is being requested.PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information