Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: since we don't support optionals return empty array #519

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

wesbillman
Copy link
Collaborator

This fixes and issue with the online_boutique sample app crashing on a null array

@alecthomas
Copy link
Collaborator

What was the crash?

@wesbillman
Copy link
Collaborator Author

What was the crash?

https://github.com/TBD54566975/ftl-flutter-online-boutique/blob/main/lib/api/cart.dart#L114

Since we don't yet support optionals and this was null

@wesbillman wesbillman merged commit ebbe50d into main Oct 25, 2023
8 checks passed
@wesbillman wesbillman deleted the return-empty-cart branch October 25, 2023 20:58
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