Skip to content

Type model file values as JSON - #2594

Merged
adamtheturtle merged 1 commit into
mainfrom
type-model-file-json-values
Sep 10, 2026
Merged

adamtheturtle merged 1 commit into
mainfrom
type-model-file-json-values

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Summary

  • use the existing recursive JSON type throughout the model-file decoding pipeline
  • retain object only at the raw decoder and shape-validation boundaries
  • avoid a broadly typed intermediate by validating root arrays and objects in their respective branches

Validation

  • uv run --group=dev prek run --all-files --hook-stage pre-commit
  • uv run --group=dev prek run --all-files --hook-stage pre-push
  • uv run --group=dev pytest -q (157 passed)

@adamtheturtle
adamtheturtle merged commit 36207b6 into main Sep 10, 2026
13 checks passed
@adamtheturtle
adamtheturtle deleted the type-model-file-json-values branch September 10, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant