flutterdata / flutter_data

Seamlessly manage persistent data in your Flutter apps
MIT License
410 stars 31 forks source link

Test full FD teardown/dispose + setup/(re)initialize #160

Closed frank06 closed 1 month ago

frank06 commented 2 years ago

Should be fail proof and tested, maybe in a separate Flutter test repo (along with performance testing there?).

Explore destroying local storage instead of clearing.

frank06 commented 2 years ago

Following on main.data.dart is useless:

    ref.onDispose(() {
      for (final repository in _repoMap.values) {
        repository.dispose();
      }
    });
frank06 commented 2 years ago

Wait until https://github.com/flutterdata/flutter_data/issues/93 ?

frank06 commented 1 month ago

Fixed in v2