Skip to content

fix: accept whole-number doubles for intSchema deserialization#229

Merged
nicklasl merged 2 commits intomainfrom
nicklasl/fix-int-schema-double-parsing
Mar 6, 2026
Merged

fix: accept whole-number doubles for intSchema deserialization#229
nicklasl merged 2 commits intomainfrom
nicklasl/fix-int-schema-double-parsing

Conversation

@nicklasl
Copy link
Member

@nicklasl nicklasl commented Mar 5, 2026

  The backend may send integer values as 400.0 in JSON. The intSchema
  deserializer now converts these to Integer when the fractional part
  is zero, instead of throwing a ParseError.

      The backend may send integer values as 400.0 in JSON. The intSchema
      deserializer now converts these to Integer when the fractional part
      is zero, instead of throwing a ParseError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nicklasl nicklasl merged commit 7f95fd0 into main Mar 6, 2026
2 checks passed
@nicklasl nicklasl deleted the nicklasl/fix-int-schema-double-parsing branch March 6, 2026 11:49
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.

2 participants