Skip to content

Syntax error when fetching schema #289

@marano

Description

@marano

I am trying to setup this plugin on gatsby but am getting the error below when I run the build command.

info [sanity] Fetching remote GraphQL schema

 ERROR #gatsby-source-sanity_drafts.10001  UNKNOWN

Syntax Error GraphQL request (5:1) Unexpected String

4:
5: """Field is a "raw" JSON alias for a different field"""
   ^
6: directive @jsonAlias(

I get the impression gatsby does not play well with the three quote comments present on the schema.

Versions I am using:
[email protected]
[email protected]

Can someone please advise on how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions