Skip to content

Instantly share code, notes, and snippets.

@yusinto
Last active April 28, 2018 10:01
Show Gist options
  • Save yusinto/c4c6a8f376a36f600ddb0f1f24c952df to your computer and use it in GitHub Desktop.
Save yusinto/c4c6a8f376a36f600ddb0f1f24c952df to your computer and use it in GitHub Desktop.
Example local schema to demonstrate relay and schema stitching
type Query {
user: User
place: Place
}
type User {
email: String
name: String
favouritePlaces: [Place]
}
type Place {
id: String
name: String
#business: Business # this is remote
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment