Complement #941: finalize TypedFormData()
to support fastify-multer
.
#1116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to dependencies and refactors the handling of multipart form data in the
packages/core
module. The most important changes include updatingpackage.json
files, replacing thefastify-multipart
library withfastify-multer
, and modifying theTypedFormData
decorator to support the new library.Dependency Updates:
@nestia/station
inpackage.json
from4.0.0-dev.20241027
to4.0.0-dev.20241027-2
.@types/multer
andfastify-multer
dependencies inpackages/core/package.json
.typia
inpackages/core/package.json
to>=7.0.0-dev.20241027-2 <8.0.0
.@fastify/multipart
fromdevDependencies
and updatedfastify
to^4.28.1
inpackages/core/package.json
.Refactoring
TypedFormData
:multer
withfastify-multer
inTypedFormData
decorator and updated related imports and documentation. [1] [2] [3] [4]Body
function to accept options formulter
orfastify-multer
. [1] [2]decodeExpress
anddecodeFastify
functions to use the newfastify-multer
library. [1] [2]multerApplication
singleton and updated the multipart form data parsing logic.Test Updates:
@fastify/multipart
withfastify-multer
in thetest/features/multipart-form-data-fastify/src/Backend.ts
file. [1] [2]fastify-multer
dependency intest/package.json
.