From 5aaa1e5b30063136d44d83cb5c2a0721adee996f Mon Sep 17 00:00:00 2001 From: shan7030 Date: Thu, 27 May 2021 01:20:19 +0530 Subject: [PATCH 1/2] Fixed Introspection example link --- src/content/learn/Learn-Introspection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/Learn-Introspection.md b/src/content/learn/Learn-Introspection.md index f9c33304b5..370d4d6638 100644 --- a/src/content/learn/Learn-Introspection.md +++ b/src/content/learn/Learn-Introspection.md @@ -11,7 +11,7 @@ queries it supports. GraphQL allows us to do so using the introspection system! For our Star Wars example, the file -[starWarsIntrospection-test.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsIntrospection-test.js) +[starWarsIntrospection-test.ts](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsIntrospection-test.ts) contains a number of queries demonstrating the introspection system, and is a test file that can be run to exercise the reference implementation's introspection system. From 39b2dfb66e85cf3fd21eacf3e33b432d4f9f87c1 Mon Sep 17 00:00:00 2001 From: shan7030 Date: Thu, 27 May 2021 01:50:37 +0530 Subject: [PATCH 2/2] Fixed introspection file link to GraphQL.js --- src/content/learn/Learn-Introspection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/Learn-Introspection.md b/src/content/learn/Learn-Introspection.md index 370d4d6638..5b19856aa2 100644 --- a/src/content/learn/Learn-Introspection.md +++ b/src/content/learn/Learn-Introspection.md @@ -180,6 +180,6 @@ and create documentation browsers, or rich IDE experiences. This has just scratched the surface of the introspection system; we can query for enum values, what interfaces a type implements, and more. We can even introspect on the introspection system itself. The specification goes -into more detail about this topic in the "Introspection" section, and the [introspection](https://github.com/graphql/graphql-js/blob/main/src/type/introspection.js) +into more detail about this topic in the "Introspection" section, and the [introspection](https://github.com/graphql/graphql-js/blob/main/src/type/introspection.ts) file in GraphQL.js contains code implementing a specification-compliant GraphQL query introspection system.