Abhinav
12/18/2024, 12:23 PMcomposeApp.uninstantiated.mjs:185 IllegalStateException: The driver used with SQLDelight is asynchronous, so SQLDelight should be configured for
asynchronous usage:
sqldelight {
databases {
MyDatabase {
generateAsync = true
}
}
}
Did the above change but now getting
No matching variant of app.cash.sqldelight:async-extensions:2.0.2 was found. The consumer was configured to find a library for use during 'kotlin-runtime', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json', attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm', attribute 'org.jetbrains.kotlin.wasm.target' with value 'js' but
I guess sqldelight:async-extension is currently jvm based and wont work for wasm target. Please help me out here if there is any solution
Thanks in advance