arch: move MasterDataSet out of LageBuch.Persistence so AppLogic stops referencing the infrastructure assembly
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with src/LageBuch.AppLogic/LageBuch.AppLogic.csproj and src/LageBuch.Persistence/MasterData/MasterDataSet.cs, then trace the listed view-models, service interfaces, and Services/IncidentStore.cs dependencies. The proposal leaves the destination undecided (Domain or a new Contracts project) and allows moving IncidentStore to either app heads or a new Infrastructure project. Follow AGENTS.md and keep docs/master-data.example.json in sync; done when AppLogic no longer references Persistence and the dependent code builds and tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
From the 2026-09-09 architecture review of main (35d86e1).
LageBuch.AppLogic references LageBuch.Persistence (src/LageBuch.AppLogic/LageBuch.AppLogic.csproj:6) for one reason: MasterDataSet and IncidentSettings (src/LageBuch.Persistence/MasterData/MasterDataSet.cs) are defined in the infrastructure assembly, and 14 view-model files plus the service interfaces IMasterDataProvider, IMasterDataFileService and IIncidentHostController using LageBuch.Persistence.MasterData. The records themselves are plain data with no SQLite in them. The only concrete Persistence use in AppLogic is Services/IncidentStore.cs.
Proposal
- Move
MasterDataSet,IncidentSettings,AnonymizedExampleDataand the small record types they use toLageBuch.Domain(they are dependency-free records) or a newLageBuch.Contractsproject. - Keep
MasterDataJsonandMasterDataStorein Persistence. - Move
IncidentStore(theIIncidentStoreimplementation overIncidentRepository) to the app heads or a smallLageBuch.Infrastructureproject, soAppLogicno longer references Persistence at all.
Keep docs/master-data.example.json in sync per AGENTS.md if any field moves.
- Lenguaje dominante
- C#
- Estrellas
- 1
- Forks
- 3
- Merge medio
- 4 h 49 min
- PR fusionados (30 d)
- 177
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodeForFire/lagebuch
-
Stammdaten: in the Checkliste editor the PFLICHT header is not aligned with its columnPosiblemente ocupada @Saad-elnagar la tomó hace 1 día. Abiertobug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CodeForFire/lagebuch#714 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Stammdaten: on a phone the Fahrzeuge editor squeezes Wache and Funkrufname to nothingPosiblemente ocupada @Saad-elnagar la tomó hace 1 día. Abiertobug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
CodeForFire/lagebuch#713 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
CodeForFire/lagebuch#405 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CodeForFire/lagebuch#349 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CodeForFire/lagebuch#348 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CodeForFire/lagebuch
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Posiblemente ocupada @Wurschdhaud la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
pyrevitlabs/pyRevit#3817 ·
Los mantenedores suelen responder en 1 día
-
bug effort:S P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nightscout/nocturne#2449 ·
Los mantenedores suelen responder en 1 día
-
audit:1 bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NethermindEth/dotnet-libp2p#395 ·
Los mantenedores suelen responder en 1 día
-
area: client bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día