Created
August 27, 2022 09:43
-
-
Save susimsek/c0c39c6966adff3ebc89737c4b7e11ad to your computer and use it in GitHub Desktop.
Review Microservice Schema
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
type Product @key(fields: "id") @extends { | |
id: ID! @external | |
reviews: [Review!]! | |
} | |
type Review { | |
id: ID!, | |
text: String | |
starRating: Int! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment