You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the an error is thrown during initialisation, the app tries to retry but an error occurs.
To reproduce this, throw an error in appInitializationProvider (e.g. alter the INIT_TOKEN and rerun the app)
Unhandled Exception: 'package:riverpod/src/framework/element.dart': Failed assertion: line 476 pos 11: '_debugCurrentlyBuildingElement == null || _debugCurrentlyBuildingElement == this': Providers are not allowed to modify other providers during their initialization.
Please also write unit tests to test these scenarios.
The text was updated successfully, but these errors were encountered:
When the an error is thrown during initialisation, the app tries to retry but an error occurs.
To reproduce this, throw an error in
appInitializationProvider
(e.g. alter the INIT_TOKEN and rerun the app)Unhandled Exception: 'package:riverpod/src/framework/element.dart': Failed assertion: line 476 pos 11: '_debugCurrentlyBuildingElement == null || _debugCurrentlyBuildingElement == this': Providers are not allowed to modify other providers during their initialization.
Please also write unit tests to test these scenarios.
The text was updated successfully, but these errors were encountered: