feat: add onion architecture preset to boundary rules#229
Conversation
Add onion preset with layers: domain-model → domain-services → application → infrastructure. Enforces inward-only dependency direction like the other presets.
|
Claude finished @carlos-alm's task —— View job PR Review: Onion Architecture PresetTodo List
Root Cause AnalysisProblem Being Solved: The PR adds support for onion architecture, completing the four most popular layered architecture patterns (hexagonal, layered, clean, onion). This addresses a gap in architectural preset coverage for teams using onion architecture. Why This Approach: The implementation follows the exact same pattern as the existing three presets, maintaining consistency in the codebase. The onion layers ( Risk Assessment: Very low risk. This is a pure additive change with no modifications to existing functionality. Implementation AnalysisPositive aspects:
Code quality:
Critical ConcernsNone identified. This is a straightforward, well-implemented addition. Minor observations:
Final Recommendation
The only reason it's not 5 stars is that it's a simple addition rather than solving a complex problem, but it's executed very well. |
Greptile SummaryAdds the
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: a8c6fb9 |
Summary
onionpreset with layers:domain-model→domain-services→application→infrastructureTest plan