Created
June 2, 2017 04:19
-
-
Save duytai/3b4b5bcf56af968e33700d8991e32703 to your computer and use it in GitHub Desktop.
This file contains 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
interface Node { | |
_id: ID! | |
} | |
type User implements Node { | |
_id: ID! | |
name: String | |
} | |
type Book implements Node { | |
_id: ID! | |
author: User | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment