Skip to content

Commit e80ecd8

Browse files
geroplona-agent
andcommitted
[server] Implement context env var validation behind context_env_var_validation ff
Co-authored-by: Ona <[email protected]>
1 parent 3145c9d commit e80ecd8

File tree

3 files changed

+751
-14
lines changed

3 files changed

+751
-14
lines changed

components/server/src/util/featureflags.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ export async function getFeatureFlagEnableExperimentalJBTB(userId: string): Prom
1111
user: { id: userId },
1212
});
1313
}
14+
15+
export async function getFeatureFlagEnableContextEnvVarValidation(userId: string): Promise<boolean> {
16+
return getExperimentsClientForBackend().getValueAsync("context_env_var_validation", false, {
17+
user: { id: userId },
18+
});
19+
}

0 commit comments

Comments
 (0)