Apollo server type definitions show as single string


Are the backticks working properly? My type definitions are being shown as string in vscode. I am following the Apollo | GraphQL certification course.

In VSCode you’ll need an extension installed that supports GraphQL syntax highlighting.

Thank you I thought I was doing something wrong. So it technically is one template string array? Am I saying that right?

Easily confused given the similar syntax, but the gql tag here is called a tagged template: Template literals (Template strings) - JavaScript | MDN

A template literal is just a string surrounded by backticks which supports the ${} interpolation syntax.