After upgrading to relay 0.7.0, it appears the queries it generates have changed slightly, resulting in the error in the issue's title.
query Overview_ResourcesRelayQL($id_0:ID){
node(id:$id_0){
id,__typename,...F0
}
}
fragment F0 on Resources{
memory{
total,
used,
when,
id
}
id
}
query Overview_ResourcesRelayQL($id_0:ID!){
node(id:$id_0){
id,__typename,...F0
}
}
fragment F0 on Resources{
memory{
total,
used,
when,
id
}
id
}
I am not too sure why this happens. This is the definition for node
in my schema.json
which is generated using the graphql introspection query:
{
"description": null,
"enumValues": null,
"fields": [
{
"args": [],
"deprecationReason": null,
"description": null,
"isDeprecated": false,
"name": "resources",
"type": {
"kind": "OBJECT",
"name": "Resources",
"ofType": null
}
},
{
"args": [
{
"defaultValue": null,
"description": "The ID of an object",
"name": "id",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
}
}
],
"deprecationReason": null,
"description": "Fetches an object given its ID",
"isDeprecated": false,
"name": "node",
"type": {
"kind": "INTERFACE",
"name": "Node",
"ofType": null
}
},
{
"args": [],
"deprecationReason": null,
"description": null,
"isDeprecated": false,
"name": "version",
"type": {
"kind": "OBJECT",
"name": "Version",
"ofType": null
}
}
],
"inputFields": null,
"interfaces": [],
"kind": "OBJECT",
"name": "Query",
"possibleTypes": null
},