We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a4048 commit dcb8477Copy full SHA for dcb8477
providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/process/flags.py
@@ -85,7 +85,7 @@ def __post_init__(self) -> None:
85
if not self.variants or not isinstance(self.variants, dict):
86
raise ParseError("Incorrect 'variants' value provided in flag config")
87
88
- if self.default_variant and not isinstance(self.default_variant, str):
+ if self.default_variant and not isinstance(self.default_variant, (str, bool)):
89
raise ParseError("Incorrect 'defaultVariant' value provided in flag config")
90
91
if self.metadata:
0 commit comments