cashapp / sqldelight

SQLDelight - Generates typesafe Kotlin APIs from SQL
https://cashapp.github.io/sqldelight/
Apache License 2.0
6.05k stars 502 forks source link

No QueryPagingSource available with support for SuspendingTransacter #4291

Closed daio closed 1 year ago

daio commented 1 year ago

SQLDelight Version

2.0.0-rc01

Operating System

macOS

Gradle Version

8.1.1

Kotlin Version

1.8.22

Dialect

sqlite

AGP Version

No response

Describe the Bug

When trying to use androidx paging3 extension in Kotlin Multiplatform project I get the following error: Cannot access 'QueryPagingSource': it is internal in 'app.cash.sqldelight.paging3'

The code is in commonMain sourceset. Seems like there's some kind of a naming clash with internal abstract class defined in the same file.

Stacktrace

No response

Gradle Build Script

No response

daio commented 1 year ago

Some additional info: my database is configured with generateAsync.set(true)

Seems like it's not a name clash, but there's no QueryPagingSource support for SuspendingTransacter