From 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 11 Jun 2025 12:39:28 -0400 Subject: tools/reformat --- docs/design.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/design.md') diff --git a/docs/design.md b/docs/design.md index 6cd0075..47df384 100644 --- a/docs/design.md +++ b/docs/design.md @@ -4,10 +4,10 @@ As of this writing, the basic flow of most requests hits several subsystems: -* Axum handles parsing and delivering requests to endpoint handlers. -* Endpoint handlers interact with an "app" method (mostly defined in `**/app.rs`) to carry out logic. -* App methods interact with the database through "repo" methods. -* Repo methods access the database, and carry out minor tasks directly adjacent to data access (ID generation being the main example). +- Axum handles parsing and delivering requests to endpoint handlers. +- Endpoint handlers interact with an "app" method (mostly defined in `**/app.rs`) to carry out logic. +- App methods interact with the database through "repo" methods. +- Repo methods access the database, and carry out minor tasks directly adjacent to data access (ID generation being the main example). This approach helps enable testing (see [testing.md] and the implementation of most of the tests), and helps maintain some conceptual separation between what this service does and how each piece individually works. -- cgit v1.2.3