Skip to content

fix: ensure integer schema fields are sent as integers to API#53

Merged
jhr-debug merged 1 commit intomainfrom
feat-draggable-tabs
Feb 26, 2026
Merged

fix: ensure integer schema fields are sent as integers to API#53
jhr-debug merged 1 commit intomainfrom
feat-draggable-tabs

Conversation

@jhr-debug
Copy link
Contributor

Models with integer fields like max_images (Seedream sequential, Nano Banana multi) would fail with "value must be an integer" because schemaToForm merged integer and number types, losing the original type info. Add schemaType to FormFieldConfig and apply Math.round() when building payloads.

Models with integer fields like max_images (Seedream sequential,
Nano Banana multi) would fail with "value must be an integer" because
schemaToForm merged integer and number types, losing the original type
info. Add schemaType to FormFieldConfig and apply Math.round() when
building payloads.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jhr-debug jhr-debug merged commit e59bbbf into main Feb 26, 2026
8 checks passed
@jhr-debug jhr-debug deleted the feat-draggable-tabs branch February 27, 2026 03:58
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