Omar McIver
Omar McIver
Update `fetch-http-client.ejs` to work correctly with FormData File[] and to be consistent with the same correct handling in the axios template. Fixes #556
## Description This PR fixes an issue with FormData handling when arrays are involved, particularly for multi-file uploads. ## The Problem When an API endpoint accepts an array of files...
## Summary Fixes #1429 - Response object mutation fails in ESM environments ## Problem The Fetch client template directly mutates Response objects by adding `data` and `error` properties. This works...
Form Data "files" is not correctly handled as an array of objects in fetch templates and is inconsistent with the axios templates. As a result, an array of files in...
## Problem The generated Fetch client attempts to directly mutate the Response object by adding `data` and `error` properties. This fails in ESM environments using node-fetch v3 because Response objects...