From 4d33b2214e941f171385a1b72a1fa995714bb284 Mon Sep 17 00:00:00 2001 From: Aaron Moat <2937187+AaronMoat@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:34:38 +1000 Subject: [PATCH] Create many-sloths-shop.md --- .changeset/many-sloths-shop.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .changeset/many-sloths-shop.md 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 } +```