I’m having trouble getting schema module dependencies in sqldelight to work after updating to kotlin 1.6.20 or later. I have a few queries that join on tables in the shared module, and all of those are now failing to compile with the error
No table found with name <shared table name>
. Switching back to 1.6.10 immediately fixes the issue. Any ideas what the problem could be?
Daniel Rampelt
09/13/2022, 5:37 PM
I did see a possibly related issue (https://github.com/cashapp/sqldelight/issues/3239), but my error is different - it’s in the interface generation step rather than kotlin compilation. I can reproduce the same compilation error in their sample project, however.
s
saket
09/14/2022, 10:14 AM
I can reproduce the same compilation error in their sample project
wanna file an issue along with steps to reproduce this?
d
Daniel Rampelt
09/14/2022, 1:48 PM
Sorry I meant I can reproduce the same error reported in this issue by checking out the sample project they posted: https://github.com/cashapp/sqldelight/issues/3239
It’s a different error than I’m getting in my project, but both happened after the 1.6.20 update. I’ll see if I can come up with a small reproducible example for my error though
m
Matthias Geisler
09/23/2022, 12:32 PM
Curious...the 2.0.0-alpha03 does not have this problem...
However, is there a possibility to get a fix for meanwhile 1.x?