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

feat(vscode): Add syntax highlighting to Prisma.sql #1794

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ajmnz
Copy link

@ajmnz ajmnz commented Jul 26, 2024

Fixes #1533, adds syntax highlighting to the Prisma.sql helper.

As I understand, only $queryRaw and $executeRaw have syntax highlighting because they are considered "safe". Docs do not make references to Prisma.sql being unsafe.

@CLAassistant
Copy link

CLAassistant commented Jul 26, 2024

CLA assistant check
All committers have signed the CLA.

@andreasvh-conceto
Copy link

andreasvh-conceto commented Sep 10, 2024

Hi, this is such a useful feature. In our projects we use queryRaw, but would prefer to create an Prisma.sql , to pass this query object around. But without highlighting this is just meh....

@ajmnz @janpio any idea or possibility, to merge this? :)

@andreasvh-conceto
Copy link

This will fix #1533

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

Successfully merging this pull request may close these issues.

Syntax highlighting support for Prisma.sql in prisma vscode extension
3 participants