Commit Graph

6 Commits

Author SHA1 Message Date
d345e522bd feat: add generic Value[T] base class for value objects
- Create Value[T] (frozen dataclass + ABC + Generic) in domain/framework/
- Migrate ClassifiedAdTitle and ClassifiedAdText to inherit Value[str]
- Standardize all value access via .value instead of type-specific fields
2026-07-29 11:13:17 -04:00
fa65782059 refactor: rename apply_event to apply 2026-07-29 10:44:12 -04:00
511a66ab66 feat: add no-op when method to Entity base class for event handling 2026-07-29 10:42:06 -04:00
494406d504 feat: add default _ensure_valid_state to Entity base class 2026-07-29 10:41:05 -04:00
7eace9212d refactor: rename raise_event to apply_event and _events to _changes 2026-07-29 10:40:04 -04:00
5bb6cedd03 feat: add FastAPI, Entity base class, and health check endpoint 2026-07-29 10:38:16 -04:00