fastify / fastify/fastify-multipart

Support Firebase / GCP cloud functions

Open
#547 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
539
Forks
126
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the feature has not already been requested

### 🚀 Feature Proposal

Support serverless firebase and GCP

### Motivation

Currently we can't use this plugin with [serverless](https://fastify.dev/docs/latest/Guides/Serverless/) GCP (or Firebase).

As explained here https://github.com/fastify/fastify/issues/946#issuecomment-766319521 and [in the doc for firebase](https://fastify.dev/docs/latest/Guides/Serverless/#add-custom-contenttypeparser-to-fastify-instance-and-define-endpoints), we need to use `req.rawBody` in order to parse files from multipart.

### Example

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.