node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7k stars 680 forks source link

ctx of koa cant not get the hash of file #851

Closed SparkElf closed 2 years ago

SparkElf commented 2 years ago

ctx at koa cant not get hash. image expect : console.log(file.newFilename) is not undefined. koa 2.13.4 nodejs 16.8

GrosSacASac commented 2 years ago

Ideally you fill the new issue template and post code as text and explain what you are trying to do.

tunnckoCore commented 2 years ago

I agree with @GrosSacASac :D

Aside.. we have koa example and tests, plus I used it in koa-better-body, it for sure works, so.. there's no reason and no changes made in that regard.