Skip to content

[FME-4362] update sdk version and add support for evaluation options#204

Merged
ZamoraEmmanuel merged 9 commits intodevelopmentfrom
fme-4362
Jul 18, 2025
Merged

[FME-4362] update sdk version and add support for evaluation options#204
ZamoraEmmanuel merged 9 commits intodevelopmentfrom
fme-4362

Conversation

@ZamoraEmmanuel
Copy link
Copy Markdown
Contributor

@ZamoraEmmanuel ZamoraEmmanuel commented Jul 17, 2025

Split Evaluator

What did you accomplish?

  • Update @splitsoftware/splitio to version 11.4.1
  • Add support for evaluation options in impressions
  • Add optional options property to get treatment endpoints
  • Add validations for gettreatments evaluation options properties
  • Add prerequisites property to splitview object in /manager/split and /manager/splits endpoints

How do we test the changes introduced in this PR?

Added related tests

Extra Notes

@ZamoraEmmanuel ZamoraEmmanuel requested a review from a team as a code owner July 17, 2025 20:51
sanzmauro
sanzmauro previously approved these changes Jul 17, 2025
Comment thread utils/mocks/splitchanges.since.-1.till.1602796638344.json Outdated
Comment thread utils/inputValidation/evaluationOptions.js Outdated
Comment thread utils/inputValidation/evaluationOptions.js Outdated
@ZamoraEmmanuel ZamoraEmmanuel changed the base branch from main to development July 18, 2025 19:52
Comment thread utils/inputValidation/properties.js Outdated
try {
properties = isString(maybeProperties) ? JSON.parse(maybeProperties) : maybeProperties;
if (!isObject(properties)) {
return errorWrapper('properties must be a plain object with only boolean, string, number or null values..');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return errorWrapper('properties must be a plain object with only boolean, string, number or null values..');
return errorWrapper('properties must be a plain object with only boolean, string, number or null values.');

Comment thread utils/inputValidation/properties.js Outdated
}
return okWrapper(properties);
} catch (e) {
return errorWrapper('properties must be a plain object with only boolean, string, number or null values..');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return errorWrapper('properties must be a plain object with only boolean, string, number or null values..');
return errorWrapper('properties must be a plain object with only boolean, string, number or null values.');

@ZamoraEmmanuel ZamoraEmmanuel merged commit c1ef592 into development Jul 18, 2025
2 checks passed
@Israphel Israphel deleted the fme-4362 branch October 14, 2025 16:38
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.

3 participants