[FEATURE] Add targeting
validation and log warning if targeting is invalid
#1140
Labels
enhancement
New feature or request
Requirements
With open-feature/flagd-schemas#120, we now have JSON schema validation for targeting rules. We can now validate targeting rules for all sources. We should do this, and log a WARNING anytime an flag with invalid targeting is configured.
Tasks:
schemas
submodule to most recent releasetargeting
and root schema (see example here) and validate it, logging a warning if it's not validThe text was updated successfully, but these errors were encountered: