Last active
April 28, 2018 10:38
-
-
Save yusinto/44be0c2447ceb723197e3a9bbf2894c9 to your computer and use it in GitHub Desktop.
Relay modern QueryRenderer snippet to demo schema stitching
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
<QueryRenderer | |
environment={relayEnvironment} | |
query={graphql` | |
query client_index_Query { | |
user { | |
name | |
favouritePlaces { | |
business { # look ma, remote schema field! | |
name | |
address | |
} | |
} | |
} | |
} | |
`} | |
// .... excluded for brevity | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment