Skip to content

Rewritten or Restructure #464

Open
Open
@climba03003

Description

@climba03003

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

We should reduce the methods to something that is necessary.
For example, parts, files, file does nearly the same but confusing.

We should either provide parsing method directly or async iterator for advanced user.

The current request.body object is not user friendly, which leads to multiple config (e.g. keyValues)

Motivation

With the growth of feature and never removed deprecated functions.
The current codebase is messy and not user-friendly to beginner.

I found must people is not family with how stream works and ask for simple solution multiple times.
That's why I created fastify-formidable and fastify-busboy.

I believe we can do something to provide a more generic interface and not fixed to a single parsing engine.
So, I created @kakang/fastify-multipart and seek for advice.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions