Skip to content

DELETED - #23

Closed
charlesroddie wants to merge 4 commits into
getmimo:mainfrom
charlesroddie:api-error-non-json
Closed

charlesroddie wants to merge 4 commits into
getmimo:mainfrom
charlesroddie:api-error-non-json

Conversation

@charlesroddie

@charlesroddie charlesroddie commented Sep 27, 2026 •

Copy link
Copy Markdown

DELETED

charlesroddie and others added 3 commits September 27, 2026 19:40
Reflection-based System.Text.Json is disabled in NativeAOT apps, so every
verify/decode and API call threw InvalidOperationException. Serialize via a
source-generated JsonSerializerContext with the same camelCase naming, and
mark the library IsAotCompatible so trim/AOT analyzer warnings surface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A null body no longer throws on POST/PUT. Tests now match request JSON, so
a missing naming policy or context entry fails them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes getmimo#20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@charlesroddie charlesroddie changed the title Throw ApiException for non-JSON error responses Throw ApiException for non-JSON responses Sep 27, 2026
@charlesroddie charlesroddie changed the title Throw ApiException for non-JSON responses DELETED Sep 27, 2026
@charlesroddie
charlesroddie deleted the api-error-non-json branch September 27, 2026 20:06
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