Skip to content

Commit e5d5f99

Browse files
Copilotjosecelano
andcommitted
docs: [#79] clarify infrastructure layer directory organization
Co-authored-by: josecelano <[email protected]>
1 parent 444fbe9 commit e5d5f99

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/contributing/ddd-layer-placement.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,17 @@ impl ApplyInfrastructureStep {
354354
- Coordinates infrastructure calls
355355
- No business logic
356356

357-
## 🔧 Infrastructure Layer (`src/infrastructure/`)
357+
## 🔧 Infrastructure Layer (`src/infrastructure/` and `src/adapters/`)
358358

359359
### Purpose
360360

361361
The infrastructure layer provides technical implementations for external integrations, file I/O, persistence, and other external concerns. It implements interfaces defined in the domain layer.
362362

363+
**Note:** The project organizes infrastructure code into two directories:
364+
365+
- `src/adapters/` - Direct wrappers for external tools (OpenTofu, Ansible, SSH, Docker, LXD)
366+
- `src/infrastructure/` - Other infrastructure concerns (persistence, tracing, template rendering)
367+
363368
### What Belongs Here
364369

365370
-**File I/O implementations** - Reading/writing files

0 commit comments

Comments
 (0)