Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Flags SDK now supports OpenFeature - Vercel

Vercel News·Dominik Ferber·4 days ago
#HxFMafcr
Reading 0:00
15s threshold

The Flags SDK adapter for OpenFeature allows using any Node.js OpenFeature provider with the Flags SDK. Pick from a wide range of flag providers, while benefiting from the Flag SDK's tight integration into Next.js and SvelteKit. import { createOpenFeatureAdapter } from "@flags-sdk/openfeature" ; import type { EvaluationContext } from "@openfeature/server-sdk" ; OpenFeature . setProvider ( new YourProviderOfChoice ( ) ) ; const openFeatureAdapter = createOpenFeatureAdapter ( OpenFeature . getClient ( ) ) ; export const exampleFlag = flag < boolean , EvaluationContext > ( { key : "example-flag" , adapter : openFeatureAdapter . booleanValue ( ) , } ) ; Declare a feature flag using the Flags SDK and OpenFeature adapter OpenFeature is an open specification that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool or in-house solution. OpenFeature exposes various providers through a unified API.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More