feat: add getAll function to formdata#32444
Conversation
Base commit: 28064ee |
|
@SSHIC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@SSHIC any updates? |
|
Also can you fix the failed checks @matinzd? |
0c33daa to
1c21dd7
Compare
Base commit: 28064ee |
The two builds failures are unrelated and are currently broken on main. We're looking into them and can be disregarded here. |
|
@cortinico Any update? |
|
@matinzd those 2 failures were related to an Android issue that is now fixed on master. Don't you mind rebasing? |
e923254 to
766b627
Compare
The getAll() method of the FormData interface returns all the values associated with a given key from within a FormData object. Reference: https://developer.mozilla.org/en-US/docs/Web/API/FormData
766b627 to
bdf429f
Compare
|
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
This pull request was successfully merged by @matinzd in d05a5d1. When will my fix make it into a release? | Upcoming Releases |
…rmData by @matinzd * feat: add getAll function type to formData Reference: facebook/react-native#32444 * tests: add getAll to tests * tests: fix
Summary: The getAll() method of the [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) interface returns all the values associated with a given key from within a FormData object. ## Changelog [General] [Added] - Add getAll function to FormData class for getting all parts containing that key. This is also available in web API. Pull Request resolved: facebook#32444 Test Plan: New test added in FormData-test.js Reviewed By: lunaleaps Differential Revision: D31798633 Pulled By: cortinico fbshipit-source-id: ef29bb54e930532a671adbe707be8d1a64ff0d82
Summary
The getAll() method of the FormData interface returns all the values associated with a given key from within a FormData object.
Changelog
[General] [Added] - Add getAll function to FormData class for getting all parts containing that key. This is also available in web API.
Test Plan
New test added in FormData-test.js