Skip to content

Add support for .gql files in apollo-language-server #1128

@ksonnad

Description

@ksonnad

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    🥇 good-first-issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions