gatsby-source-graphql-universal icon indicating copy to clipboard operation
gatsby-source-graphql-universal copied to clipboard

`getIsolatedQuery` doesn't work if fragment is defined before the query

Open srenault opened this issue 5 years ago • 0 comments

The code assumes the query is at the first index: https://github.com/birkir/gatsby-source-graphql-universal/blob/master/src/index.js#L68

This cause some preview issues in the gatsby-source-prismic-graphql.

srenault avatar Aug 21 '19 15:08 srenault