Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTDB Cloud Function are not visible #1469

Closed
kykydz opened this issue Sep 5, 2019 · 4 comments
Closed

RTDB Cloud Function are not visible #1469

kykydz opened this issue Sep 5, 2019 · 4 comments
Assignees
Labels
type: docs Improvement to the documentation for an API.

Comments

@kykydz
Copy link

kykydz commented Sep 5, 2019

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

@fhinkel
Copy link
Contributor

fhinkel commented Sep 7, 2019

@zkycloudz 👋 Thanks for reaching out. @ace-n, could you have a look at this Functions related question? Thanks!

@fhinkel
Copy link
Contributor

fhinkel commented Oct 3, 2019

Ping @ace-n

@JustinBeckwith JustinBeckwith added 🚨 This issue needs some love. triage me I really want to be triaged. labels Oct 3, 2019
@ace-n
Copy link
Contributor

ace-n commented Oct 3, 2019

Hi @zkycloudz

Apologies for the confusion - but Cloud Functions (GCF) and Firebase Functions are separate products.

@labtopia can we add the following to the note on this page?

If you are only using Firebase products in your application, you may want to use the Cloud Functions for Firebase SDK. as it performs some convenience operations that simplify interacting with the different Firebase products. The samples below are specific to Google Cloud Functions and will not work with Cloud Functions for Firebase.

@JustinBeckwith JustinBeckwith added type: docs Improvement to the documentation for an API. and removed triage me I really want to be triaged. 🚨 This issue needs some love. labels Oct 3, 2019
@fhinkel
Copy link
Contributor

fhinkel commented Nov 18, 2019

Closing this due to inactivity. Please reopen if still needed.

@fhinkel fhinkel closed this as completed Nov 18, 2019
This was referenced Sep 15, 2021
This was referenced Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

4 participants