firebase / firebase/firebase-functions

fastify support

Open
#609 4 comments 6 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
1.1k
Forks
232
Avg merge
20h 46m
Merged PRs (30d)
15

Description

In [this video](https://www.youtube.com/watch?v=LOeioOKUKI8), firebase functions can successfully integrate with node.js application, specifically express framework. I want to use [fastify](https://www.fastify.io/benchmarks/) framework because it has better performance than express.

Unfortunately, when I am using fastify, I got error like this:
```js
TypeError: handler is not a function
at cloudFunction (/srv/node_modules/firebase-functions/lib/providers/https.js:49:9)
at /worker/worker.js:783:7
at /worker/worker.js:766:11
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickDomainCallback (internal/process/next_tick.js:219:9)
```

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.