You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While working on this task, I identified an issue within the FeatureFlagValidator component. The validator treats featureFlagSegmentInclusion and featureFlagSegmentExclusion as objects containing segments as an array. However, in all other instances, we have defined featureFlagSegmentInclusion and featureFlagSegmentExclusion as arrays of objects, each containing segment, enabled, and listType.
Additionally, this validator is utilized in the create and update calls of the FeatureFlag, which do not include featureFlagSegmentInclusion or featureFlagSegmentExclusion (only name, key, context, and tags are present). This discrepancy is likely why the error has not surfaced, but it is crucial that we address this issue before it causes any disruptions.
Expected behavior FeatureFlagInclusion and FeatureFlagExclusion should be an array of object containing Segment, enabled and listType
The text was updated successfully, but these errors were encountered:
Describe the bug
While working on this task, I identified an issue within the
FeatureFlagValidator
component. The validator treatsfeatureFlagSegmentInclusion
andfeatureFlagSegmentExclusion
as objects containing segments as an array. However, in all other instances, we have definedfeatureFlagSegmentInclusion
andfeatureFlagSegmentExclusion
as arrays of objects, each containing segment, enabled, and listType.Additionally, this validator is utilized in the create and update calls of the FeatureFlag, which do not include
featureFlagSegmentInclusion
orfeatureFlagSegmentExclusion
(only name, key, context, and tags are present). This discrepancy is likely why the error has not surfaced, but it is crucial that we address this issue before it causes any disruptions.Expected behavior
FeatureFlagInclusion
andFeatureFlagExclusion
should be an array of object containing Segment, enabled and listTypeThe text was updated successfully, but these errors were encountered: