Skip to content

1-getting-started schema error with graphcool init #6

@GordanRatkovic

Description

@GordanRatkovic

(Using graphcool 0.4)
After running:
graphcool init --schema https://graphqlbin.com/hn-relay.graphql --name Hackernews
I run into this error:
The relation field links has the wrong format: [Link!] Possible Formats: Link, Link!, [Link!]!

I created a local copy of hn-relay.graphql and replaced [Link!] with [Link!]! as well as [Vote!] with [Vote!]!.
It solved the issue.

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