Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Add directive highlighting for type system directives #326

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

markusjwetzel
Copy link
Contributor

@markusjwetzel markusjwetzel commented Sep 27, 2021

GraphQL directives can be added to many places:
https://spec.graphql.org/draft/#sec-Type-System.Directives

Currently not all places listed in the spec are supported for syntax highlighting. Especially many type system directive locations are missing. This pull request adds the missing places to the grammar, so that directives are syntax highlighted on all possible places.

Potentially this also fixes issue graphql/graphiql#2300.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 27, 2021

CLA Signed

The committers are authorized under a signed CLA.

@acao
Copy link
Member

acao commented Sep 28, 2021

Awesome, thanks! Are you able to sign the CLA?

@acao
Copy link
Member

acao commented Nov 24, 2021

@markusjwetzel when you sign the CLA we can release this!

@markusjwetzel
Copy link
Contributor Author

@acao Sorry for late reply. It's now signed. :)

@acao
Copy link
Member

acao commented Dec 9, 2021

great, about to release this one tonight!

@acao acao merged commit 4569aef into graphql:master Dec 10, 2021
@github-actions github-actions bot mentioned this pull request Dec 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants