-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[cloud_functions] Support for cloud functions emulators #1887
Conversation
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
|
Thanks for the PR! Ideally we'd have an integration test for this change, but I think we'd need to either teach our CI to run an emulator (which wouldn't support testing in places like Firebase Test Lab) or we'd need to set up a public running instance of the emulator. I'm ok with landing the emulator support without an integration test if we don't want to maintain that infrastructure right now. |
@collinjackson If it helps, we have a live API mocking the functions emulator for The mock emulator endpoint just returns back the I'd need to update it to work for the Firebase Project ID you're using for integration testing (but this is a 2 min change & deploy - so can do it pretty quickly). Or we can look at sharing our Firebase project for integration testing - ours is quite well set up to test various scenarios across Firebase services with various rate limits whitelisted. Another consideration here is that |
Co-Authored-By: Collin Jackson <[email protected]>
@collinjackson explains this [here](7143c48#r305878318)
collinjackson
left a comment
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.
Please update the version in pubspec.yaml to match the changelog version (0.4.1)?
Co-Authored-By: Collin Jackson <[email protected]>
|
Hi @collinjackson, About your comment of my IDE, i am using VSCode, what should be the correct configuration to meet the standard used here? |
I'm not sure. Asterisks and hyphens are both valid bullets in Markdown. I would just turn off the automatic formatting of Markdown if you can. So far this is only showing up in your PRs and I don't see any mentions in the Flutter issue tracker so I'm not sure how widespread this issue is. |
* Allowing use emulator functions Co-Authored-By: Collin Jackson <[email protected]>
* Allowing use emulator functions Co-Authored-By: Collin Jackson <[email protected]>

Description
This PR allow you configure to dev environment to use cloud functions locally
Related Issues
I have not found any problems related to this RP, this change arose with the need to use this plugin in a local environment before deploying the function
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?