Skip to content

Conversation

@EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Feb 5, 2025

  • Removed the fallback_enabled option from the Split.Supervisor.start_link/1 function. The fallback behavior is now always enabled.
  • Updated the return type of Split functions to never return {:error, _} tuples. Instead, they will use the fallback value when an error occurs (e.g., "control" for get_treatment, false for track, etc).
  • Updated the label of fallback treatments to 'exception', for consistency with other SDKs.

@EmilianoSanchez EmilianoSanchez changed the title BREAKING CHANGE: remove fallback_enabled option and error tuple from Split function results. BREAKING CHANGE: Remove fallback_enabled option and error tuple from Split function results. Feb 5, 2025
@EmilianoSanchez EmilianoSanchez merged commit b950be1 into development Feb 6, 2025
1 check passed
@EmilianoSanchez EmilianoSanchez deleted the remove_fallback_enabled_option branch February 6, 2025 20:48
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