Created
September 11, 2020 13:45
-
-
Save hernanif1/c0fef7d18d7ebcb217ac6e749e5f4276 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
``` | |
getProduct { | |
id | |
name | |
__typename // auto-included | |
} | |
getCart{ | |
id | |
product{ | |
id | |
name <- graphql doest need to fetch this data again because it was created by graphql cached in getProduct | |
__typename // auto-included | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment