Skip to content

Conversation

@vincevargadev
Copy link

@vincevargadev vincevargadev commented Sep 22, 2023

When a SplitResult is converted into a string (such as when printing or running in debugger) and the config value is null, the previous implementation would display "null" as if it were a String which is confusing, because it is null.

Flutter plugin

What did you accomplish?

Less confusing string representation of SplitResult.

How do we test the changes introduced in this PR?

Get split results with no config, see them printed, convert them to strings in your Flutter app or view it in debugger.

Extra Notes

This would make me think that I need to handle "null" strings instead of null values.

Screenshot 2023-09-22 at 14 49 35

When a SplitResult is converted into a string (such as when printing or running in debugger) and the config value is null, the previous implementation would display "null" as if it were a string which is confusing.
@vincevargadev vincevargadev requested a review from a team as a code owner September 22, 2023 12:51
@gthea gthea changed the base branch from main to sets_3 November 2, 2023 21:11
Copy link
Contributor

@gthea gthea left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@gthea gthea merged commit 5973f3b into splitio:sets_3 Nov 2, 2023
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