Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

arch: move MasterDataSet out of LageBuch.Persistence so AppLogic stops referencing the infrastructure assembly

Abierto
#297 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
backend

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

enhancement

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, AnonymizedExampleData and the small record types they use to LageBuch.Domain (they are dependency-free records) or a new LageBuch.Contracts project.
  • Keep MasterDataJson and MasterDataStore in Persistence.
  • Move IncidentStore (the IIncidentStore implementation over IncidentRepository) to the app heads or a small LageBuch.Infrastructure project, so AppLogic no 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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeForFire/lagebuch

Todos los issues de CodeForFire/lagebuch

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.