Files
document-haness/docs/TechLog/final/assets/diagrams/decision-path-404/decision-path-404.d2
T

28 lines
705 B
Plaintext

# 결정 주소가 게시 시점에 굳어져 방문자가 404 를 만나기까지
# Question: 계약은 앵커 주소를 적어 두었는데 방문자는 왜 404 를 만났는가?
direction: down
n0: "계약 ProjectDecisionItem" {
shape: rectangle
}
n1: "PublicPaths.forKind" {
shape: rectangle
}
n2: "public_resource_projection" {
shape: rectangle
}
n3: "PublicSql.pathOf" {
shape: rectangle
}
n4: "방문자" {
shape: person
}
n5: "공개 라우트" {
shape: rectangle
}
n0 -> n1: "…/decisions#{slug} 로 규정"
n1 -> n2: "…/decisions/{slug} 저장"
n2 -> n3: "저장된 주소 조회"
n3 -> n4: "같은 형태로 링크 전달"
n4 -> n5: "…/decisions/{slug} 요청"
n5 -> n4: "404"