-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add DR for automatic dependency injection (#199)
* docs: add DR for automatic dependency injection * DEPENDENCIES * PR remarks * Update dependencies
- Loading branch information
Showing
4 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Developer Documentation |
14 changes: 14 additions & 0 deletions
14
.../developer/decision-records/2023-12-06-automatic-dependency-injection/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Automatic Dependency Injection | ||
|
||
## Decision | ||
|
||
We will stop the automatic injection of implementation dependencies in the modules with the build plugin. | ||
|
||
## Rationale | ||
|
||
Automatic dependency injection will add potentially unnecessary dependencies to every module that uses the build plugin. | ||
|
||
## Approach | ||
|
||
Remove the automatic dependency injection for production dependency. The injection will remain for test dependencies such as Awaitility or JUnit. | ||
Implementation dependencies should be declared by an SPI module through the `api` configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Decision Records | ||
|
||
- [2023-12-06 Automatic Dependency Injection](2023-12-06-automatic-dependency-injection/) |