From da7374c9c50fd69c54bbc9b6406ad6d1da4a70dc Mon Sep 17 00:00:00 2001 From: Mark Bennett Date: Mon, 29 Jun 2020 10:38:38 -0600 Subject: [PATCH 1/4] Add a note about queries not working in GraphiQL This is a known issue, but it could confuse new Gatsby users (like myself). [See the `gatsby-image` docs for details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments), and [this GraphiQL issue for progress on a fix](https://github.com/graphql/graphiql/issues/612). --- docs/tutorial/gatsby-image-tutorial/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tutorial/gatsby-image-tutorial/index.md b/docs/tutorial/gatsby-image-tutorial/index.md index 447c15d7cba8a..ccdde61bda1ec 100644 --- a/docs/tutorial/gatsby-image-tutorial/index.md +++ b/docs/tutorial/gatsby-image-tutorial/index.md @@ -91,6 +91,9 @@ export const query = graphql` ` ``` +_**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gastby-image` docs for more details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments)._ + + There are a couple of things to note here. ### Relative image paths and `gatsby-config.js` From e7173aba54a7a2a4caf578b226cb28af8eb301c9 Mon Sep 17 00:00:00 2001 From: gatsbybot Date: Tue, 30 Jun 2020 22:32:16 +0000 Subject: [PATCH 2/4] chore: format --- docs/tutorial/gatsby-image-tutorial/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/tutorial/gatsby-image-tutorial/index.md b/docs/tutorial/gatsby-image-tutorial/index.md index ccdde61bda1ec..122f66baeb4e0 100644 --- a/docs/tutorial/gatsby-image-tutorial/index.md +++ b/docs/tutorial/gatsby-image-tutorial/index.md @@ -93,7 +93,6 @@ export const query = graphql` _**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gastby-image` docs for more details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments)._ - There are a couple of things to note here. ### Relative image paths and `gatsby-config.js` From 8df02da323d4898d6e08d7d252b084b102dade21 Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Fri, 3 Jul 2020 15:11:11 +0200 Subject: [PATCH 3/4] Update docs/tutorial/gatsby-image-tutorial/index.md Co-authored-by: Yogi --- docs/tutorial/gatsby-image-tutorial/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/gatsby-image-tutorial/index.md b/docs/tutorial/gatsby-image-tutorial/index.md index 122f66baeb4e0..f1cd1b16b9a4f 100644 --- a/docs/tutorial/gatsby-image-tutorial/index.md +++ b/docs/tutorial/gatsby-image-tutorial/index.md @@ -91,7 +91,7 @@ export const query = graphql` ` ``` -_**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gastby-image` docs for more details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments)._ +_**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gatsby-image` docs for more details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments)._ There are a couple of things to note here. From aecfe75bc89ad00eb07640aa7489d116beb24abe Mon Sep 17 00:00:00 2001 From: Aisha Blake Date: Wed, 8 Jul 2020 19:41:20 -0400 Subject: [PATCH 4/4] Fix relative link --- docs/tutorial/gatsby-image-tutorial/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/gatsby-image-tutorial/index.md b/docs/tutorial/gatsby-image-tutorial/index.md index f1cd1b16b9a4f..9d400d7f844a7 100644 --- a/docs/tutorial/gatsby-image-tutorial/index.md +++ b/docs/tutorial/gatsby-image-tutorial/index.md @@ -91,7 +91,7 @@ export const query = graphql` ` ``` -_**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gatsby-image` docs for more details](https://www.gatsbyjs.org/packages/gatsby-image/#fragments)._ +_**Note:** This query won't work in GraphiQL as it doesn't support implicit fragments. This will work in your Gatsby pages and components. [See the `gatsby-image` docs for more details](/packages/gatsby-image/#fragments)._ There are a couple of things to note here.