I'm playing with SqlDelight and I'm trying to do s...
# squarelibraries
m
I'm playing with SqlDelight and I'm trying to do something like with touchlabs is doing with https://github.com/touchlab/KaMPKit/blob/1d54b14c66dd55d865ea29d3f0051f5c793c4010/[…]iosTest/kotlin/co/touchlab/kampkit/TestUtilIOS.kt?ref=akjaw.com Intellij is showing several compile errors with
Cannot access class 'co.touchlab.sqliter.DatabaseConnection'.
I have no touchlab libs in my app and there are no imports for it in the file. Everything compiles OK, but the false errors are annoying. I was wondering if anyone else has seen this.
same 1
It doesn't like the symbols
NativeSqliteDriver
and
wrapConnection
.
I see that touch lab's sqliter is a dependency of the native driver. But SqlDelight uses an API dependency, so I'm not sure why Intellij is not finding the class.
o
Yes, I have observed this phenomenon as well. IDEA cannot find sqliter elements.
k
We'll see how it goes when a new version of sqldelight comes out. We've bumped the latest sqliter to Kotlin 1.9.20. That may cooperate better with the IDE (although building should work fine, even if the IDE disagrees)