Skip to content

[AI-FSSDK] [FSSDK-12418] Remove experiment type validation from config parsing#402

Merged
junaed-optimizely merged 2 commits into
masterfrom
ai/farhananjum-opti/FSSDK-12418-remove-type-validation
Apr 9, 2026
Merged

[AI-FSSDK] [FSSDK-12418] Remove experiment type validation from config parsing#402
junaed-optimizely merged 2 commits into
masterfrom
ai/farhananjum-opti/FSSDK-12418-remove-type-validation

Conversation

@FarhanAnjum-opti

@FarhanAnjum-opti FarhanAnjum-opti commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes experiment type validation from config parsing to ensure forward compatibility. Previously, unknown experiment type values caused errors and could reject the entire datafile, which would break existing SDK versions when new experiment types are added in the future.

Changes

  • Removed type validation block that rejected experiments with unknown type values
  • Unknown experiment types are now silently accepted and stored as-is
  • Added test verifying unknown experiment types are accepted during config parsing

Jira Ticket

FSSDK-12418

@junaed-optimizely junaed-optimizely merged commit 91cfa69 into master Apr 9, 2026
9 of 10 checks passed
@junaed-optimizely junaed-optimizely deleted the ai/farhananjum-opti/FSSDK-12418-remove-type-validation branch April 9, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants