Arun Joseph
01/19/2023, 1:44 PMModuleNameClass
, for example BreedsBreed
Is there a way to fix it?russhwolf
01/19/2023, 1:54 PM@ObjCName
annotation that can help with this, but we haven't adapted most of our samples yet.
https://kotlinlang.org/docs/whatsnew18.html#improved-objective-c-swift-interoperabilityArun Joseph
01/19/2023, 2:05 PMBreed
?
I see that https://github.com/cashapp/sqldelight/issues/3738 is blocking sqldelight with kotlin 1.8kpgalligan
01/19/2023, 3:05 PMModuleNameClass
naming scheme. Just the Class
end of it. You can export the data module, which will remove the ModuleName
prefix, but we specifically don’t do that because it’ll add all of the auto-generated sqldelight code to your public iOS interface. That means extra classes in the header you don’t need, and also extra binary size in your final app. At some point I’d like to add a way to control the module name prefix to Kotlin, but right now the only way to remove the ModuleName
prefix is to export the module.