refactor: move AppContext to presentation crate, structurally enforce boundary
All checks were successful
CI / Check / Test (push) Successful in 39m33s

This commit is contained in:
2026-06-11 23:18:28 +02:00
parent b5cc7f8371
commit 57520c00f3
51 changed files with 268 additions and 377 deletions

View File

@@ -1,9 +1,6 @@
use std::sync::Arc;
use application::{
config::AppConfig,
context::{AppContext, Repositories, Services},
};
use application::config::AppConfig;
use async_trait::async_trait;
use axum::{
Router,
@@ -25,6 +22,7 @@ use domain::{
value_objects::{Email, ExternalMetadataId, PasswordHash, PosterUrl, UserId},
};
use http_body_util::BodyExt;
use presentation::context::{AppContext, Repositories, Services};
use presentation::{routes, state::AppState};
use rss::RssAdapter;
use sqlite::SqliteMovieRepository;