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

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

ajmnz
Copy link
Contributor

@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

@aqrln aqrln added this to the 6.1.0 milestone Dec 3, 2024
Copy link
Member

@aqrln aqrln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@aqrln aqrln merged commit 1bad4fb into prisma:main Dec 3, 2024
5 of 6 checks passed
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
4 participants