File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,17 @@ warnings.
89
89
90
90
## Type Name Introspection
91
91
92
- GraphQL supports type name introspection at any point within a query by the
93
- meta-field ` __typename: String! ` when querying against any Object, Interface,
94
- or Union. It returns the name of the object type currently being queried.
92
+ GraphQL supports type name introspection at any selection set within an
93
+ operation with the meta-field ` __typename: String! ` on any Object,
94
+ Interface, or Union; with the single exception of the subscription root
95
+ operation type. It returns the name of the concrete Object type at that point
96
+ during execution.
95
97
96
98
This is most often used when querying against Interface or Union types to
97
- identify which actual type of the possible types has been returned.
99
+ identify which actual Object type of the possible types has been returned.
98
100
99
- This field is implicit and does not appear in the fields list in any defined type.
101
+ This meta-field is implicit and does not appear in the fields list in any
102
+ defined type.
100
103
101
104
102
105
## Schema Introspection
@@ -110,8 +113,8 @@ __schema: __Schema!
110
113
__type (name : String ! ): __Type
111
114
```
112
115
113
- These fields are implicit and do not appear in the fields list in the root type
114
- of the query operation.
116
+ These meta- fields are implicit and do not appear in the fields list in the root
117
+ type of the query operation.
115
118
116
119
The schema of the GraphQL schema introspection system:
117
120
You can’t perform that action at this time.
0 commit comments