diff --git a/.changeset/many-sloths-shop.md b/.changeset/many-sloths-shop.md new file mode 100644 index 00000000000..353011dc53a --- /dev/null +++ b/.changeset/many-sloths-shop.md @@ -0,0 +1,15 @@ +--- +"graphql-language-service-server": patch +"graphql-language-service": patch +--- + +fix(graphql-language-service-server): allow getDefinition to work for unions + +Fixes the issue where a schema like the below won't allow you to click through to X. + +```graphql``` +union X = A | B +type A { x: String } +type B { x: String } +type Query { a: X } +```