Hello I am integrating sqldelight in my wasmJs pro...
# compose-web
a
Hello I am integrating sqldelight in my wasmJs project according to this PR, was able to setup the project for wasmJs, but while running a read query it gave error as follows
Copy code
composeApp.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
Copy code
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