I’m having trouble getting schema module dependenc...
# squarelibraries
d
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?
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
I can reproduce the same compilation error in their sample project
wanna file an issue along with steps to reproduce this?
d
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
Curious...the 2.0.0-alpha03 does not have this problem... However, is there a possibility to get a fix for meanwhile 1.x?