From 2f7e08a1985131e4346ef257904b1cf55f808a8e Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Sun, 5 Apr 2026 02:43:05 +0000 Subject: [PATCH] docs(spec): document DomainBaseModel as shared Pydantic base for domain entities Update the Domain Models section of docs/specification.md to reflect the introduction of DomainBaseModel (domain/models/base.py) as the shared Pydantic base class for domain entities with the canonical model_config. Changes: - docs/specification.md: Update Domain Models subsection to mention DomainBaseModel and the canonical config (str_strip_whitespace, validate_assignment, arbitrary_types_allowed=False, populate_by_name, use_enum_values). Clarify that classes with different config requirements may still subclass BaseModel directly. Triggered by PR #2014 (refactor(domain): extract shared model_config into a base Pydantic model, closes #1941). Approved via proposal issue #2440. ISSUES CLOSED: #2440 -- 2.52.0