Split persisted and domain events
Los mantenedores suelen responder en 7 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
Línea de trabajo
Start by reading the event mapping approach in issue #82 and trace how Eventuous currently maps and persists events. The proposed change is optional two-way mapping, with unmapped event types passing through; done means domain and persisted events can be mapped independently while preserving that pass-through behavior. The issue names no files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
For a while, I advocated treating events as contracts and keeping them clean of sophisticated types like value objects.
It solves the issue of serialisation as it should work unconditionally, but it introduces some issues:
- Repeated wrapping and unwrapping of value objects in the aggregate and the state code
- Applying mapping attributes (which are infrastructure-oriented) to domain events
- Lack of persistence control from the domain model side (I might not want to persist all the events)
Similar to #82, it is possible to map persisted events to domain events (and back) to separate those concerns.
Here's the idea:
- Add an optional two-way mapping
- Treat it as an addition, meaning look inside the map first and pass through unmapped types
- Lenguaje dominante
- C#
- Estrellas
- 512
- Forks
- 99
- Merge medio
- 5 d 6 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 Eventuous/eventuous
-
MongoDB integration tests fail on newer GitHub Actions runner kernelsPosiblemente ocupada @nmummau la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Eventuous/eventuous#626 · 2 comentarios ·
Los mantenedores suelen responder en 7 días
-
`dotnet format style --verify-no-changes` fails with naming violations and unnecessary importsPosiblemente ocupada @nmummau la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Eventuous/eventuous#624 · 1 comentario ·
Los mantenedores suelen responder en 7 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Eventuous/eventuous#627 · 1 comentario ·
Los mantenedores suelen responder en 7 días
-
SQL Server: `append_events` does not need the `@inserted` table variablePosiblemente ocupada @nmummau la tomó hace 6 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
Eventuous/eventuous#619 · 1 comentario ·
Los mantenedores suelen responder en 7 días
-
SQL Server: stream reads do one key lookup per event, and `IDX_EventsStream` duplicates `UQ_StreamIdAndStreamPosition`Posiblemente ocupada @nmummau la tomó hace 6 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 18/100
Eventuous/eventuous#618 · 1 comentario ·
Los mantenedores suelen responder en 7 días
Todos los issues de Eventuous/eventuous
Issues similares
-
area-TableView bug needs-triage team-Controls
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
microsoft/microsoft-ui-xaml#12351 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
AudioClient and ImageClient file path overloads send the full local path as the multipart file namePosiblemente ocupada @sebxt la tomó hoy. Abiertoarea: audio area: images feature-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openai/openai-dotnet#1453 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elsa-workflows/elsa-foundation#3130 ·
Los mantenedores suelen responder en 1 día
-
遥测历史查询始终返回 HTTP 400,页面静默无结果Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100