Skip to content

Commit 0f993d8

Browse files
committed
Edit: change sub-section headings for introspection
1 parent deac90e commit 0f993d8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ would return
5656
}
5757
```
5858

59-
60-
## General Principles
61-
62-
63-
### Naming conventions
59+
## Reserved Names
6460

6561
Types and fields required by the GraphQL introspection system that are used in
6662
the same context as user-defined types and fields are prefixed with {"__"} two
@@ -70,7 +66,7 @@ fields, arguments, or any other type system artifact with two leading
7066
underscores.
7167

7268

73-
### Documentation
69+
## Documentation
7470

7571
All types in the introspection system provide a `description` field of type
7672
`String` to allow type designers to publish documentation in addition to
@@ -80,7 +76,7 @@ recommended that any tool that displays `description` use a CommonMark-compliant
8076
Markdown renderer.
8177

8278

83-
### Deprecation
79+
## Deprecation
8480

8581
To support the management of backwards compatibility, GraphQL fields and enum
8682
values can indicate whether or not they are deprecated (`isDeprecated: Boolean`)
@@ -91,10 +87,10 @@ discouraging deprecated use through information hiding or developer-facing
9187
warnings.
9288

9389

94-
### Type Name Introspection
90+
## Type Name Introspection
9591

9692
GraphQL supports type name introspection at any point within a query by the
97-
meta field `__typename: String!` when querying against any Object, Interface,
93+
meta-field `__typename: String!` when querying against any Object, Interface,
9894
or Union. It returns the name of the object type currently being queried.
9995

10096
This is most often used when querying against Interface or Union types to

0 commit comments

Comments
 (0)