Skip to content

fix: Validation for file like objects#246

Merged
sandrina-p merged 2 commits intomainfrom
fix-file-like-object-validation
Dec 2, 2025
Merged

fix: Validation for file like objects#246
sandrina-p merged 2 commits intomainfrom
fix-file-like-object-validation

Conversation

@danielcardoso5
Copy link
Collaborator

@danielcardoso5 danielcardoso5 commented Nov 28, 2025

When passing a file-like object, the form validation was flagging the file as invalid due to missing the presence of the size property.

image

This MR brings the validation in line with the existing v0 one, where we treat any object with the name property as a valid file object.

Internal issue

chore: Updates npm tag for official releases to latest

@danielcardoso5 danielcardoso5 requested a review from lukad November 28, 2025 19:43
@danielcardoso5 danielcardoso5 self-assigned this Nov 28, 2025
Copy link
Contributor

@lukad lukad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and thanks for fixing the release script!

@sandrina-p sandrina-p merged commit 726a8b6 into main Dec 2, 2025
5 checks passed
@sandrina-p sandrina-p deleted the fix-file-like-object-validation branch December 2, 2025 14:08
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.

4 participants