Hello,
In the custom type (called "Home") that I'm buiding, the first and default tab is scoped with a node called "body" by default, in the JSON and I successfully manage to fetch it via graphql
{
allHomes {
edges {
node {
_linkType
body {
__typename
}
}
}
}
}
When I rename this "body" node into "bodyMain", I can't manage to fetch it via grapghql anymore.
{
allHomes {
edges {
node {
_linkType
bodyMain {
__typename
}
}
}
}
}
I get this error :
Cannot query field 'bodyMain' on type 'Home'. Did you mean 'body'? (line 8, column 9):\n bodyMain {\n ^
Please help me customize the name of these tab nodes