We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8166d4a commit 65b6141Copy full SHA for 65b6141
docs/docs/reference/graphql-data-layer/schema-customization.md
@@ -1067,7 +1067,7 @@ export const query = graphql`
1067
name
1068
firstName
1069
email
1070
- __typeName
+ __typename
1071
... on AuthorJson {
1072
joinedAt
1073
}
@@ -1085,12 +1085,12 @@ export const query = graphql`
1085
`
1086
```
1087
1088
-Including the `__typeName` introspection field allows to check the node type when iterating
+Including the `__typename` introspection field allows to check the node type when iterating
1089
over the query results in your component:
1090
1091
```js
1092
data.allTeamMember.nodes.map(node => {
1093
- switch (node.__typeName) {
+ switch (node.__typename) {
1094
case `AuthorJson`:
1095
return <Author {...node} />
1096
case `ContributorJson`:
0 commit comments