Skip to content

Type report responses as JSON - #3223

Merged
adamtheturtle merged 2 commits into
mainfrom
type-report-json
Sep 10, 2026
Merged

Type report responses as JSON#3223
adamtheturtle merged 2 commits into
mainfrom
type-report-json

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 10, 2026

Copy link
Copy Markdown
Member

Report constructors consume decoded API responses, so type them as recursive JSON values instead of arbitrary object values.

This also promotes the existing JSON value alias to a documented public module so public annotations do not expose a private implementation detail. The malformed-response test continues to exercise the public QueryResult constructor.

The Model Target response validation from #3222 is now merged.

Base automatically changed from validate-model-target-json to main September 10, 2026 14:37
@adamtheturtle
adamtheturtle merged commit 200baeb into main Sep 10, 2026
13 checks passed
@adamtheturtle
adamtheturtle deleted the type-report-json branch September 10, 2026 15:31
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