Simon Binder

Results 752 comments of Simon Binder

Not really, the implementation relies on `IsolateNameServer` which is Flutter-only. I don't think there's a way to port it to pure Dart (as far as I know, there's no way...

Back when drift was called moor, there was a `moor_flutter` package. It only contained a sqflite-based executor that would now live in `drift_sqflite`, but I agree that having a `drift_flutter`...

We do have a `drift_flutter` package now, closing :) I will potentially also add some utilities around opening multiple connections to form a WAL pool to this package.

Good point! Changing this would be breaking, but IMO it would make things easier if `create` / `Companion.insert` only requires a value wrapper if the column is nullable _and_ has...

Not just for this, but having one for [all breaking enhancement](https://github.com/simolus3/drift/labels/breaking) could be worth it. The reason I'm holding back on breaking releases is that with macros coming up eventually,...

> `await _provideDbLock.firstWhere((locked) => !locked,);` > `_provideDbLock.add(true);` This is an odd mutex implementation - I'm not sure if it's related to this, but I don't think it's fully sound. E.g....

> The API doc on `DriftIsolate.spawn` specificlly asks to pass the callback as a top-level/static function (which is the way I learned passing callbacks to isolates and am frankly a...

> So maybe there's a problem, that this may or may not work, given different circumstances? My understanding is that as long as the two isolates share a Flutter engine...

Regarding the "could not read tables" error, are you listing a table that was defined from a `.drift` file in the `tables` list? That is unsupported because the type doesn't...

> line 1, column 1: The imported file, `package:mytrailpals/common/enum/app_level_common_enum.dart`, does not exist or can't be imported. Could you check whether there's a typo or something in the drift file that...