The current situation in vscode-apollo is very confusing. The extension will syntax-highlight .gql files but the schema-based features don't work. I would expect the features of the extension to work consistently across every file type -- if it's syntax-highlighted, the schema validation should also work.
There's a workaround, you can add .gql to the includes configuration of apollo.config.js. But the default values for that option aren't documented anywhere.
Can .gql files just be added to the language-server's default includes list?
The current situation in
vscode-apollois very confusing. The extension will syntax-highlight.gqlfiles but the schema-based features don't work. I would expect the features of the extension to work consistently across every file type -- if it's syntax-highlighted, the schema validation should also work.There's a workaround, you can add
.gqlto theincludesconfiguration ofapollo.config.js. But the default values for that option aren't documented anywhere.Can
.gqlfiles just be added to the language-server's defaultincludeslist?