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

1st gen imports and codebases #1091

Merged
merged 7 commits into from
Jul 7, 2023
Merged

1st gen imports and codebases #1091

merged 7 commits into from
Jul 7, 2023

Conversation

jhuleatt
Copy link
Collaborator

@jhuleatt jhuleatt commented Jul 6, 2023

  • Use the firebase-functions/v1 import in 1st gen samples to make it more explicit that it is 1st gen code
  • Make each sample its own codebase

@jhuleatt jhuleatt requested a review from egilmorez July 7, 2023 14:25
Comment on lines 19 to 21
// [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');
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

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.

Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG, thanks!

@jhuleatt jhuleatt merged commit 72f6e91 into main Jul 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants