-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
1st gen imports and codebases #1091
Conversation
// [START import] | ||
// The Cloud Functions for Firebase SDK to create Cloud Functions and set up triggers. | ||
const functions = require("firebase-functions"); | ||
const functions = require('firebase-functions/v1'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @egilmorez this change touches the 1st gen "get started" snippet: https://firebase.google.com/docs/functions/get-started?gen=1st#import-the-required-modules-and-initialize-an-app_1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! As long as the tag names dont' change, I'll just need to republish to catch this and any other updates to snippets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, thanks!
firebase-functions/v1
import in 1st gen samples to make it more explicit that it is 1st gen code