gatsby-source-graphql-universal
gatsby-source-graphql-universal copied to clipboard
`getIsolatedQuery` doesn't work if fragment is defined before the query
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.