Last active
April 28, 2018 10:01
-
-
Save yusinto/c4c6a8f376a36f600ddb0f1f24c952df to your computer and use it in GitHub Desktop.
Example local schema to demonstrate relay and schema stitching
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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