graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
557 stars 71 forks source link

Embed not highlighting properly in datamodel.prisma #120

Closed mckernanin closed 5 years ago

mckernanin commented 5 years ago

Actual Behavior

Embeds look like this in a datamodel.prisma file:

image

Expected Behavior

Should be highlighted properly and not show an error in the editor:

image

Steps to Reproduce the Problem Or Description

Paste the following into datamodel.prisma file, with the extension installed:

embed Address {
  street String
  city String
  state String
  zip String
}

Specifications

Logs Of TS Server || GraphQL Language Service

[Info  - 1:04:11 AM] Using tsserver from: /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib
[Info  - 1:04:11 AM] <main> Forking...
[Info  - 1:04:11 AM] <main> Starting...
divyenduz commented 5 years ago

This is the GraphQL extension, I think that the extension that you are referring to is: https://marketplace.visualstudio.com/items?itemName=Prisma.prisma

This extension no longer deals with the .prisma files but the one linked above does.

Can you confirm?

divyenduz commented 5 years ago

I am closing this one, please re-open if the issue persists.