Add typed config/frontmatter validation (pydantic? custom?) #10

Open
opened 2026-09-02 00:58:41 +00:00 by omicron · 1 comment
Owner

Currently the config and frontmatter are just big any outputs from yaml. It would be nice if we can turn these into typed data classes of some kind so we can do better validation and error reporting.

Currently the config and frontmatter are just big `any` outputs from yaml. It would be nice if we can turn these into typed data classes of some kind so we can do better validation and error reporting.
omicron added this to the soon™ milestone 2026-09-02 00:58:41 +00:00
omicron added the Kind/Enhancement label 2026-09-02 00:58:41 +00:00
Author
Owner

The config file was refactored by 4351ea8e0d and now conforms to these requirements. It uses custom validation and creates a type annotated dataclass SiteConfig.

The config file was refactored by 4351ea8e0d and now conforms to these requirements. It uses custom validation and creates a type annotated dataclass `SiteConfig`.
Sign in to join this conversation.