Skip to content

RTDB Cloud Function are not visible #1469

@kykydz

Description

@kykydz

Halo,
I am beginner using cloud function, I spent 3 days working with cloud function, the work is really great!! 👍

Then I come to try following the guide here to listen or make trigger cloud function to the changes happen in firebase RTDB: realtime-databse functions
but apparently the function I made following the guide in the link is not detected when I run
firebase deploy --only functions
I already try to give filter:
irebase deploy --only functions:myTriggerFunctionRTDB
otherwise it give me error :
⚠ functions: the following filters were specified but do not match any functions in the project: myTriggerFunctionRTDB

I know it is still in beta, therefore I try to find an updated documentation, I found it here Functions database event trigger. And yes, I made it work :) 👍

In my experiment I have to make sure that after exports.myTriggerFunctionRTDB = you have functions. to make it detected by firebase deploy --only functions.

  1. I just want to make sure that my issue is really exist or I made mistake in my configuration?
  2. If the issue is exist I would like to recommend to keep the documentation clear (there are 2 documentation which make me stuck and confused).

Hope someone help :)
My apologize if I had some bad ethique or not implementing best practice opening issue. Thank you

Metadata

Metadata

Assignees

Labels

type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions