Skip to content

feat(dart_frog): support multiple values/files per form field#1955

Open
WD-J wants to merge 1 commit into
dart-frog-dev:mainfrom
WD-J:main
Open

feat(dart_frog): support multiple values/files per form field#1955
WD-J wants to merge 1 commit into
dart-frog-dev:mainfrom
WD-J:main

Conversation

@WD-J
Copy link
Copy Markdown
Contributor

@WD-J WD-J commented Apr 23, 2026

This PR aims to accommodate RFC 7578 Section 4.3, which specifies that multiple files can be uploaded under a single form field.

Status

READY

Description

  • Refactor FormData to store files as List<UploadedFile> per field.
  • Refactor form data parsing to support multiple values/files per field.

Breaking change

FormData no longer supports accessing values/files directly via a single key-value pair. The values/files for each field are now returned as lists.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

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