-
Notifications
You must be signed in to change notification settings - Fork 892
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
feat(rc): Add custom signals support #8602
base: main
Are you sure you want to change the base?
Conversation
- Also takes care of setting the signals in the fetch request
🦋 Changeset detectedLatest commit: 832258b The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
- Add new `getWithTransaction` and `setWithTransaction` APIs - Refactor generic `get` and `set` APIs for code reuse - Update `setCustomSignals` to perform upsert operation in a single transaction.
@@ -9,6 +9,12 @@ import { FirebaseApp } from '@firebase/app'; | |||
// @public | |||
export function activate(remoteConfig: RemoteConfig): Promise<boolean>; | |||
|
|||
// @public | |||
export interface CustomSignals { | |||
// (undocumented) |
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.
Hmm. This would appear to indicate we've missed documentation on a public API, but I see a comment on CustomSignals
in public_types.ts, so it's unclear what more we should be doing. This would be a question for the core JS team. I see getRemoteConfig
is also flagged as undocumented, so this may be a non-issue.
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.
This indicates there's no documentation comment for the key/value pair here which it looks like probably isn't needed here given the thorough documentation on the parent interface.
- Removed changes to firebase/compat and remote-config-compat packages.
Changeset File Check ✅
|
f0a9278
to
4dd52d3
Compare
4dd52d3
to
805db83
Compare
I heard my approval motivated some discussion, so I'll add additional context:
|
No description provided.