[vscode-graphql-syntax] The types of a union that has a directive are coloured like a directive
Open
bug
vscode-graphql-syntax
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description

The types of `union1a` and `union2a` are coloured the same as the directive in the union. Instead, I would expect them to remain coloured as they are in `union1b` and `union2b`.
```gql
union union1a @deprecated = Int
union union1b = Int
union union2a @deprecated = Int | Float
union union2b = Int | Float
```
Contributor guide
Assessment
This issue has not been assessed yet.