Last active
June 4, 2018 07:43
-
-
Save clarencenpy/04efda7733291072aa2baa3a2402ccbf 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
const typeDefs = gql` | |
type MovieSearchResult { | |
movies: [Movie!]! | |
recommendedForYou: [Movie!] | |
} | |
... | |
` | |
// Note: since it makes no sense that we have a null | |
// Movie returned in the list, we should mark each Movie | |
// as non-nullable too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment