firebase-functions icon indicating copy to clipboard operation
firebase-functions copied to clipboard

Firebase SDK for Cloud Functions

Results 186 firebase-functions issues
Sort by recently updated
recently updated
newest added

### Related issues N/A ### [REQUIRED] Version info **node:** 16.17.1 **firebase-functions:** 3.24.0 **firebase-tools:** 11.10.0 **firebase-admin:** 11.0.1 ### [REQUIRED] Test case ```const function = require('firebase-functions') module.exports = functions.https.onCall(async (data, context) =>...

type: feature request
api: http
triaged

### Description Exported Param classes: `BooleanParam`, `FloatParam`, `IntParam`, `SecretParam`, `StringParam`, and `ListParam`. Upon creating stubs using various tools to test my cloud functions which use firebase-functions, I faced an issue...

### [REQUIRED] Version info 9.15.0 **node:** 16.18.1 **firebase-functions:** 0.9.0 **firebase-tools:** 11.18.0 **firebase-admin:** 11.2.0 ### [REQUIRED] Expected behavior Have function to trigger after user signin like `onCreate` function ```js functions.auth.user().onSignIn((user,context) =>...

type: feature request
api: auth
triaged

I am proposing an enhancement for the `setGlobalOptions` function in Firebase Functions Gen 2. The `setGlobalOptions` function enables setting global configurations for the entire project such as `enforceAppCheck`. For example:...

type: feature request

### Description The JS doc of `defineSecret()` says it receives `options` argument but that is not true. So I removed the line including `@param options`.

### Related issues https://github.com/firebase/firebase-functions/issues/822 ### [REQUIRED] Version info **node:** 18.12.1 although not relevant here **firebase-functions:** 4.4.0 **firebase-tools:** 12.0.0 **firebase-admin:** 11.8.0 ### [REQUIRED] Test case ```typescript export const Example = functions.database.ref(someRef).onDelete(async...

type: enhancement
api: database

### Related issues Couldn't find any. ### [REQUIRED] Version info **node:** v18.16.0 **firebase-functions:** 4.4.0 **firebase-tools:** 12.0.0 **firebase-admin:** 11.8.0 ### Feature request I am using a load balancer on top of...

type: feature request
triaged

### Description As per [this](https://firebase.google.com/docs/functions/config-env#secret_parameters) doc, I've been using the `defineSecret` function. The return type `SecretParam` was not available for direct use. ```ts import { SecretParam } from 'firebase-functions/params'; //...

### [REQUIRED] Version info **node:** v18.13.0 **firebase-functions:** 4.1.1 **firebase-tools:** 11.20.0 **firebase-admin:** 11.4.1 ### [REQUIRED] Test case https://firebase.google.com/docs/functions/task-functions#task_queue_configuration onDispatch function is getting the task `data` but not the task headers. https://github.com/firebase/firebase-functions/blob/0b066d6d616475a37ae411c0346e2350dd8af435/src/common/providers/tasks.ts#L112-L114...

type: feature request
api: tasks

### Description This PR adds stricter type safety to callable functions with generics. ### Code sample ```typescript export const isValidSession = https.onCall((data, context) => { const sessionId = data; //...