Skip to content

compile: syntax error due to multiline comment #134

@MrSaints

Description

@MrSaints

The output of get-schema (via schema.graphql) appears to include descriptions in multiline comment blocks. For example:

"""The ID of the object."""
id: ID!

Resulting in the following when compile is executed:

GraphQLError: Syntax Error GraphQL request (9:3) Expected Name, found String

I did not have this issue prior to upgrading. Any idea how I can resolve this?

This happened after going from: "graphql-cli": "2.0.4", -> "graphql-cli": "2.9.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions