Skip to content

fix: Fixed bug when request returns empty list on network call error - #86

Open
caselett wants to merge 2 commits into
Flagsmith:mainfrom
caselett:fix/default-flags-on-error
Open

fix: Fixed bug when request returns empty list on network call error#86
caselett wants to merge 2 commits into
Flagsmith:mainfrom
caselett:fix/default-flags-on-error

Conversation

@caselett

@caselett caselett commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

If there is no internet connection and a network request fails, this call returns the empty list specified in the default constructor instead of throwing an error.
This breaks app logic.

Also this change aligns behavior with swift version.

@caselett
caselett requested a review from a team as a code owner July 20, 2026 18:30
@caselett
caselett requested review from kyle-ssg and removed request for a team July 20, 2026 18:30
@caselett caselett changed the title Fixed bug when request returns empty list on network call error fix: Fixed bug when request returns empty list on network call error Jul 20, 2026
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.

1 participant