[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -1,25 +1,35 @@
|
||||
---
|
||||
id: wiki-20260508--di--redir
|
||||
title: 의존성 주입 (DI)
|
||||
category: Programming & Language
|
||||
status: merged
|
||||
redirect_to: 의존성_주입(DI)
|
||||
canonical_id: 의존성_주입(DI)
|
||||
aliases: []
|
||||
duplicate_of: none
|
||||
category: 10_Wiki/Topics
|
||||
status: duplicate
|
||||
canonical_id: wiki-2026-0508-solid
|
||||
duplicate_of: "[[SOLID 원칙]]"
|
||||
aliases: [DI, Dependency Injection, 의존성 주입]
|
||||
source_trust_level: A
|
||||
confidence_score: 0.92
|
||||
tags: [redirect]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-05-08
|
||||
confidence_score: 0.9
|
||||
verification_status: redirected
|
||||
tags: [duplicate, oop, design-pattern, di]
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
inferred_by: Claude Opus 4.7 (auto-merge 2026-05-08)
|
||||
---
|
||||
|
||||
# 의존성 주입 (DI)
|
||||
|
||||
> [!IMPORTANT]
|
||||
> 이 문서는 P-Reinforce Phase 2 자동 MERGE에 의해 **[[의존성_주입(DI)]]**로 통합되었습니다.
|
||||
> **이 문서는 [[SOLID 원칙]] 의 중복본입니다.** Canonical 문서로 redirect (DIP — Dependency Inversion Principle 의 매 구현 mechanism).
|
||||
|
||||
---
|
||||
*Redirected to: [[의존성_주입(DI)]]*
|
||||
## 핵심 요약 (specialization aspects)
|
||||
- 매 DI = 매 component 의 매 dependency 를 매 외부에서 주입 — 매 SOLID 의 매 D (Dependency Inversion) 의 매 실현.
|
||||
- 매 변형: constructor injection (선호) · setter · interface · property.
|
||||
- 매 modern frameworks: NestJS (TypeScript) · Spring (Java) · ASP.NET Core · tsyringe · InversifyJS.
|
||||
- 매 testing 의 매 핵심 enabler — 매 mock/stub 의 매 swap 의 매 trivial.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[SOLID 원칙]] (canonical — DIP)
|
||||
- Adjacent: [[ASPNET Core]] · [[관심사의 분리 (Separation of Concerns SoC)]] · [[객체 지향 프로그래밍 (OOP)]]
|
||||
|
||||
## 🕓 변경 이력
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | 중복 처리 — canonical 문서로 redirect |
|
||||
|
||||
Reference in New Issue
Block a user