Skip to content

Fix Firebase Functions v4 compatibility issues. #175

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

Merged
merged 7 commits into from
Oct 14, 2022
Merged

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Oct 13, 2022

  1. Replace all use of __trigger annotation to __endpoint

  2. Correct import path for Expression class/type.

In v4 SDK, we don't expose config singleton directly.
In v4 SDK, we don't expose config singleton directly.
1. Replace all use of __trigger annotation to __endpoint

2. Correct import path for Expression class/type.
Base automatically changed from dl-ff-sdk-v4-config to launch.next October 14, 2022 17:14
@taeold
Copy link
Contributor Author

taeold commented Oct 14, 2022

Tests are broken because v4 sdk isn't available yet. This will be fixed in future PR where I pull in release candidate version as the dev dependency.

@taeold taeold merged commit 424cfa5 into launch.next Oct 14, 2022
@taeold taeold deleted the dl-ff-sdk-v4 branch October 14, 2022 17:22
taeold added a commit that referenced this pull request Oct 14, 2022
* Update mockConfig function for v4 firebase-functions (#173)

V4 Functions SDK does not expose the config singleton directly.

Use the internal-only `resetCache` function instead.

* Fix Firebase Functions v4 compatibility issues. (#175)

1. Replace all use of __trigger annotation to __endpoint

2. Correct import path for Expression class/type

* BREAKING: Drop support for Firebase Functions SDK v3 and below - take 2 (#178)

We also pin down peer dep requirement for firebase-admin to peer dependencies required for v4 firebase-functions sdk.

* Bump firebase functions sdk version to v4 release candidate. (#179)
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.

3 participants