Skip to content

Commit

Permalink
Add a note about queries not working in GraphiQL
Browse files Browse the repository at this point in the history
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](graphql/graphiql#612).
  • Loading branch information
MarkBennett authored Jun 29, 2020
1 parent e563a2e commit da7374c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/tutorial/gatsby-image-tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit da7374c

Please sign in to comment.