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
Editing schema.prisma results in wasm panics #1473
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: code action
topic: language server
topic: wasm
Milestone
Comments
janpio
added
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
kind/bug
A reported bug.
labels
Jul 25, 2023
I could reproduce and got (I used a local build with #1474)
Here is a minimal schema for reproduction ( generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["auth"]
}
model users {
id String @id
@@schema("auth")
} |
Jolg42
added
bug/2-confirmed
Bug has been reproduced and confirmed.
topic: language server
topic: wasm
topic: code action
tech/engines
Issue for tech Engines.
team/schema
Issue for team Schema.
and removed
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
labels
Jul 26, 2023
Note: The same error message happens in #1466, but the stack trace is different |
Minimal repro: generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["auth", "public"]
}
model A {
id Int @id
test
} This was also fixed by prisma/prisma-engines#4087, I'll add a regression test. |
aqrln
added a commit
to prisma/prisma-engines
that referenced
this issue
Jul 28, 2023
prisma/language-tools#1473 was also fixed by #4087, this PR adds a regression test for that issue as well. Closes: prisma/language-tools#1473
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: code action
topic: language server
topic: wasm
Bug description
Any input inside of my
schema.prisma
file results in an error toast being displayed within VS Code.Error:
Output of just typing the word "test" in my schema was 1720 lines long so I included it in this gist.
How to reproduce
schema.prisma
Expected behavior
Input will be added to schema without error.
Prisma information
My schema can be found here: https://github.com/waxidiotic/show-grind/blob/main/prisma/schema.prisma
Environment & setup
The text was updated successfully, but these errors were encountered: