From ec1abbe6aaf012cc375fa31d69b429a78ec42815 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 24 Jul 2024 12:36:05 +0200 Subject: [PATCH] Unmark reading feature flags as deprecated Nimbus doesn't provide a proper replacement yet, as we can't have multiple experiments affecting the same user, rollouts aren't immediate, and we can't allowlist specific users, so reading feature flags is fine for now. I don't think we'll need to write new code to modify the flags (we have the admin UI for that already), so I'm leaving those marked as deprecated. --- src/db/tables/featureFlags.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/db/tables/featureFlags.ts b/src/db/tables/featureFlags.ts index 02e18dd83a7..48626d3efe2 100644 --- a/src/db/tables/featureFlags.ts +++ b/src/db/tables/featureFlags.ts @@ -37,7 +37,6 @@ export async function getDeletedFeatureFlags() { .returning("*"); } -/** @deprecated The method type not be used */ export type FeatureFlagName = | "RedesignedEmails" | "UpdatedEmailPreferencesOption" @@ -56,7 +55,6 @@ export type FeatureFlagName = /** * @param options - * @deprecated The method should not be used, use Nimbus experiment or roll-out: /src/app/functions/server/getExperiments */ export async function getEnabledFeatureFlags( options: