Skip to content

Prerequisite

Defined in: schema.ts:199

A dependency on another flag: this flag is only “live” when the prerequisite flag resolves to the required variant for the same context. Otherwise the dependent flag serves its default variant (reason PREREQUISITE_FAILED). The dependency graph is validated acyclic at publish time.

Property Type Description Defined in
flagKey string Key of the flag this one depends on. schema.ts:201
variant string The variant the prerequisite flag must resolve to. schema.ts:203