Faire / sqldelight-cockroachdb-dialect

SQLDelight Dialect for CockroachDB
Apache License 2.0
14 stars 1 forks source link

Can't compile with SQLDelight 2.0.2 #97

Open marrek13 opened 5 months ago

marrek13 commented 5 months ago

Hey!

After upgrading SQLDelight to 2.0.2 the CockroachDB dialect is not working anymore.

The exception is:

 A failure occurred while executing app.cash.sqldelight.gradle.SqlDelightTask$GenerateInterfaces
   > Cannot find service com.intellij.workspaceModel.core.fileIndex.WorkspaceFileIndex in {} (classloader=VisitableURLClassLoader(worker-loader)

Regards

Adriel-M commented 5 months ago

@marrek13 sorry just saw this.

I got a PR bumping up the version: https://github.com/Faire/sqldelight-cockroachdb-dialect/pull/99

Will be testing this out and will cut a release.

marrek13 commented 5 months ago

It seems to be fully related to the PR, please ping me once the new release is done and will check it out if this exception is gone

Adriel-M commented 5 months ago

Can you try this version:

0.3.1-92b33af95e4cd51195b2203cd8654ecd173eb077-SNAPSHOT for this commit: https://github.com/Faire/sqldelight-cockroachdb-dialect/commit/92b33af95e4cd51195b2203cd8654ecd173eb077

Here are docs to use a snapshot release: https://github.com/Faire/sqldelight-cockroachdb-dialect?tab=readme-ov-file#using-a-snapshot-release

cc: @MarvatheLarva @de-luca (should contain the FAMILY changes as well)

marrek13 commented 5 months ago

I checked and it works nicely now @Adriel-M, thank you

marrek13 commented 5 months ago

@Adriel-M do we have any other release blockers? I need quite urgently string_agg function support, that comes in 2.0.2 of SQLDelight

MarvatheLarva commented 5 months ago

thx @Adriel-M !