Simon Binder

Results 746 comments of Simon Binder

I couldn't reproduce that problem in a small demo that listens to stream queries and then closes an isolate database repeatedly. Are you listening to table updates manually or is...

Thanks for that report, that's interesting to know! I don't think it's related to this issue, but it's something we can fix in drift anyway.

Thanks for filing these issues! I've already started on this one in ff99144909f23a9fd3068517b11795f31101a26a, but in the current state it would be opt-in. > It would be ideal if drift could...

> But this gives a `CommonDatabase` and I don't know how to convert it to a `SqliteDatabase`. Doing `SqliteDatabase.singleConnection(SqliteConnection.synchronousWrapper(db))` should work. I don't think we really have support for in-memory...

Ah, now I understand your other issue too :D > Can you confirm, however, that queries will indeed be processed asynchronously in this case? No, `SqliteConnection.synchronousWrapper` runs queries synchronously. But...

Despite claiming to support older drift versions - `drift_flutter` actually requires a more recent version of the core `drift` package. This will be fixed in the next drift version, but...

Judging by the few changes required in https://github.com/Lyokone/flutterlocation/pull/989, you might get away with also adding `web: ^1.0.0` to the dependency overrides section.

If you can't use the latest drift, try downgrading `drift_flutter` by using `drift_flutter: '>=0.1.0

Closing as an amplify-related issue, there's not much we can do about this unfortunately :(

I've filed https://github.com/tursodatabase/libsql/issues/1547 to ask about this - looking at some sqld code, they seem to be considering `legacy_alter_table` in some places. So I hope it's an oversight and that...