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

feat: add feature flag to disable platform #2434

Merged
merged 2 commits into from
May 28, 2024

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented May 24, 2024

Add getFeatureFlags constructor argument that can return dynamic feature flags at runtime, use the feature flag to assert whether the Snaps platform is allowed to run.

Closes https://github.com/MetaMask/MetaMask-planning/issues/2556

@FrederikBolding FrederikBolding force-pushed the fb/add-feature-flag-to-disable-platform branch from e2a497e to 173cc7a Compare May 27, 2024 13:44
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.30%. Comparing base (10a9f79) to head (04ad368).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2434   +/-   ##
=======================================
  Coverage   94.30%   94.30%           
=======================================
  Files         437      437           
  Lines        8987     8997   +10     
  Branches     1378     1379    +1     
=======================================
+ Hits         8475     8485   +10     
  Misses        512      512           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FrederikBolding FrederikBolding marked this pull request as ready for review May 28, 2024 09:10
@FrederikBolding FrederikBolding requested a review from a team as a code owner May 28, 2024 09:10
@FrederikBolding FrederikBolding force-pushed the fb/add-feature-flag-to-disable-platform branch from 8f04599 to 04ad368 Compare May 28, 2024 10:38
@FrederikBolding FrederikBolding merged commit 167042c into main May 28, 2024
153 checks passed
@FrederikBolding FrederikBolding deleted the fb/add-feature-flag-to-disable-platform branch May 28, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants