Skip to content

Conversation

@EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Jan 17, 2025

API updates for consistency with other SDKs:

  • Updated Split struct ("Split View"): renamed configurations field to configs, flag_sets field to sets, and added impressions_disabled field.
  • Updated Split.split_names function to return a list of split names.
  • Updated Split.split function to return a Split struct or nil.
  • Updated Split.get_treatment and Split.get_treatments functions to return a treatment string and a map of feature flag names to their treatment strings respectively.

@EmilianoSanchez EmilianoSanchez changed the base branch from main to remove_fallback_enabled_option February 5, 2025 20:42
@EmilianoSanchez EmilianoSanchez changed the title Update SDK function signatures BREAKING CHANGE: Update Split struct (SplitView) and updated the return type of some Split module functions. Feb 5, 2025
@EmilianoSanchez EmilianoSanchez changed the title BREAKING CHANGE: Update Split struct (SplitView) and updated the return type of some Split module functions. BREAKING CHANGE: Update Split struct and updated the return type of some Split module functions. Feb 5, 2025
@EmilianoSanchez EmilianoSanchez marked this pull request as ready for review February 5, 2025 22:51
Base automatically changed from remove_fallback_enabled_option to development February 6, 2025 20:48
@EmilianoSanchez EmilianoSanchez merged commit d0ff953 into development Feb 6, 2025
1 check passed
@EmilianoSanchez EmilianoSanchez deleted the update_sdk_function_signatures branch February 6, 2025 22:20
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