From d4591111dcc94d1b7f650a83d3457d4566ecb31a Mon Sep 17 00:00:00 2001 From: ndr_brt Date: Wed, 6 Dec 2023 16:36:50 +0100 Subject: [PATCH] docs: add DR for automatic dependency injection --- docs/developer/README.md | 1 + .../README.md | 13 +++++++++++++ docs/developer/decision-records/README.md | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 docs/developer/README.md create mode 100644 docs/developer/decision-records/2023-12-06-automatic-dependency-injection/README.md create mode 100644 docs/developer/decision-records/README.md diff --git a/docs/developer/README.md b/docs/developer/README.md new file mode 100644 index 00000000..4796167e --- /dev/null +++ b/docs/developer/README.md @@ -0,0 +1 @@ +# Developer Documentation diff --git a/docs/developer/decision-records/2023-12-06-automatic-dependency-injection/README.md b/docs/developer/decision-records/2023-12-06-automatic-dependency-injection/README.md new file mode 100644 index 00000000..e58848de --- /dev/null +++ b/docs/developer/decision-records/2023-12-06-automatic-dependency-injection/README.md @@ -0,0 +1,13 @@ +# Automatic Dependency Injection + +## Decision + +We will stop injection production dependency 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 be left for the test ones. diff --git a/docs/developer/decision-records/README.md b/docs/developer/decision-records/README.md new file mode 100644 index 00000000..b53d8637 --- /dev/null +++ b/docs/developer/decision-records/README.md @@ -0,0 +1,3 @@ +# Decision Records + +- [2023-12-06 Automatic Dependency Injection](2023-12-06-automatic-dependency-injection/)