Hi! Is there a way to tell the prisma vscode exten...
# prisma1-community
a
Hi! Is there a way to tell the prisma vscode extention that my prisma schema is using Prisma 1? It kinda breaks the linting 😅
j
You should rename your schema to
.graphql
and install the GraphQL extension - the Prisma (2) extension is not useful with your P1 schema in any way I think.
a
got it, thanks
j
After renaming the datamodel file to use the
.graphql
extension, the ‘prisma generate’ command wasn’t able execute successfully. The error returned indicated this was because it was looking for a
.prisma
file.
j
I think you reference that file in your
prisma.yml
file maybe?
👍 1
j
That’s right. Thank you for pointing that out, @janpio.
prisma rainbow 1
@janpio, would you be able to help with another question? Would it it be better for me to begin a new thread?
j
Def better a new thread 🙏
(And don't expect to much - this was a lucky shot 😛 )
😆 1