Skip to content

Commit

Permalink
feat: img alt
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenderov committed Apr 5, 2024
1 parent e0036b3 commit a4202ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posts/20240404-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ in relation to something like Assembly language which is the lowest of them all.

And so the dependency tree might look something like this:

![img.png](assets/04042024-di/pre_inversion.png)
![before inversion](assets/04042024-di/pre_inversion.png)

Dependency direction goes with the direction of an arrow.
Everything directly or transitively depends on `UserModule`.
Expand Down Expand Up @@ -273,7 +273,7 @@ It abstracts the database on behalf of other modules.
And so the direction of the dependency between `NotificationModule` and `UserModule` is inverted.
Given that we apply the inversion to all dependencies;
the dependency tree might look like this:
![img.png](assets/04042024-di/post_inversion.png)
![after inversion](assets/04042024-di/post_inversion.png)

Not only the system no longer directly depends on `UserModule`.
But the transitive dependencies are also much more relaxed.
Expand Down

0 comments on commit a4202ac

Please sign in to comment.