bizz84 / bizz84/starter_architecture_flutter_firebase
AsyncVlaue.guard() doesn't work, cause state is lost
Open
- Dominant language
- Dart
- Stars
- 1.8k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
Fragments of your code, such as:
```
state = await AsyncValue.guard(() => repository.addJob(
uid: currentUser.uid, name: name, ratePerHour: ratePerHour),
```
don't work. The state is lost before the await is finished. More details: https://github.com/rrousselGit/riverpod/issues/2420
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.