Created
November 8, 2019 15:51
-
-
Save stemmlerjs/280f101b089483990de8a215fbf6da5e to your computer and use it in GitHub Desktop.
Federation Example #3 - The resulting schema for User computed from Accounts and Reviews services
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
| """ | |
| Here's what the resulting User type looks like | |
| """ | |
| type User { | |
| "A globally unique id for the user" | |
| id: ID! | |
| "The user's full name as provided" | |
| name: String | |
| "The account username of the user" | |
| username: String | |
| "A list of all reviews by the user" | |
| reviews: [Review] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment