-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(graphql-language-service-server): allow getDefinition to work for unions #3150
Conversation
🦋 Changeset detectedLatest commit: ded2d72 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@acao this might be one in your area of interest? :) |
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
thank you @AaronMoat ! this is a very helpful improvement |
@AaronMoat this improvement will be reflected in monaco-graphql and graphiql@3 when we introduce definitions as well! |
Fixes: #2575
Fixes the issue where a schema like
won't allow you to click through to X.
Also fixes the case where this is split across two files (e.g.
type Query { a: X }
is in one file and the rest are in another)