When using this with fragments and prefixTypenames: true, I end up getting an empty object without any of the fields from the fragments. The network result will include all the id and name values, but the object returned from the Apollo client will not. Is there anything special that we need to add to make those work?
Example:
query myQuery @api(name: myApi) {
clusterRangeQuery {
graphId
clusters {
...Cluster
}
edges {
source
target
}
}
}
fragment Cluster on Cluster {
id
label
}
When using this with fragments and
prefixTypenames: true, I end up getting an empty object without any of the fields from the fragments. The network result will include all the id and name values, but the object returned from the Apollo client will not. Is there anything special that we need to add to make those work?Example: