Jul 25, 2017 · 1 min read
When I’m using fetchQuery the response that I received doesn’t contain the data that I want, instead it contains some object with similar structure to the fragment.
e.g.
{
"author": {
"assetsConnection": {
"__fragments": {
"AssetsConnectionFragment_showMoreData": {}
},
"__id": "client:8:assetsConnection{\"brand\":\"somebrand\",\"count\":11}"
}
}
}There are these weird variables __fragments and __id , which I assume will be used by relay createFragmentContainer ?
Is there anyway to use fetchQuery without using createFragmentContainer ?
