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

Remove inject framework #251

Merged
merged 1 commit into from
Jun 13, 2017
Merged

Remove inject framework #251

merged 1 commit into from
Jun 13, 2017

Conversation

admiyo
Copy link
Contributor

@admiyo admiyo commented Jun 12, 2017

We were barely using it.

The framework requires fully creating objects before wiring
up dependencies, which is a violation of OO concepts. An
object should be complelely valid after the constructor returns.

We were barely using it.

The framework requires fully creating objects before wiring
up dependencies, which is a violation of OO concepts. An
object should be complelely valid after the constructor returns.
@admiyo
Copy link
Contributor Author

admiyo commented Jun 12, 2017

Before we do better Dependency Injection, lets get out interfaces right. The inject framework makes some a practice a requirement for the object composition: the requirement that you fully create objects with unfulfilled dependencies.

Copy link
Member

@rmohr rmohr left a comment

Choose a reason for hiding this comment

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

Looks good to me

@rmohr rmohr merged commit c7482d6 into kubevirt:master Jun 13, 2017
kubevirt-bot pushed a commit to kubevirt-bot/kubevirt that referenced this pull request Dec 7, 2021
* k8s: Do not remove nm

Signed-off-by: Quique Llorente <ellorent@redhat.com>

* Update k8s-1.17.1 hash

Signed-off-by: Quique Llorente <ellorent@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants