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

Add support for feature flags in "clone client" #1577

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

imjoehaines
Copy link
Contributor

Goal

The clone client function is used in session tracking and node server integrations to prevent changes from always being global (e.g. this allows per-request metadata)

Feature flags may also differ between requests (e.g. each user may have a different set of flags), so we need to clone them as well

@imjoehaines imjoehaines requested a review from djskinner November 9, 2021 16:57
@github-actions
Copy link

github-actions bot commented Nov 9, 2021

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 42.81 kB 13.06 kB
After 42.81 kB 13.06 kB
± No change No change

code coverage diff

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
82.74%(+0.01%) 72.13%(+0%) 83.87%(+0%) 81.72%(+0%)

Generated by 🚫 dangerJS against 8213e97

@imjoehaines imjoehaines merged commit f0e2bb5 into integration/feature-flags Nov 10, 2021
@imjoehaines imjoehaines deleted the feature-flags/clone-client branch November 10, 2021 10:12
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.

2 participants