Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile with SQLDelight 2.0.2 #97

Open
marrek13 opened this issue Apr 8, 2024 · 6 comments
Open

Can't compile with SQLDelight 2.0.2 #97

marrek13 opened this issue Apr 8, 2024 · 6 comments

Comments

@marrek13
Copy link

marrek13 commented Apr 8, 2024

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
Copy link
Collaborator

Adriel-M commented Apr 19, 2024

@marrek13 sorry just saw this.

I got a PR bumping up the version: #99

Will be testing this out and will cut a release.

@marrek13
Copy link
Author

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
Copy link
Collaborator

Adriel-M commented Apr 19, 2024

Can you try this version:

0.3.1-92b33af95e4cd51195b2203cd8654ecd173eb077-SNAPSHOT for this commit: 92b33af

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
Copy link
Author

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

@marrek13
Copy link
Author

@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
Copy link

thx @Adriel-M !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants