Skip to content

VSCode: remove SDL false positive diagnostics #625

@trevor-scheer

Description

@trevor-scheer

Currently the Apollo language server parses everything in a gql tag as if it's an operation (or fragment). Type definitions shouldn't be validated against the rules for operations/fragments, so we should filter those out and narrow the scope of the function responsible for validation.

The expected result here is that diagnostics intended for operations aren't applied to type definitions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions