We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e4970a commit e7a94e2Copy full SHA for e7a94e2
spec/Section 3 -- Type System.md
@@ -763,15 +763,19 @@ Union types are defined by delimiting one or more types with a single vertical b
763
union SearchResult = Photo | Person
764
```
765
766
-You may also use a leading vertical bar.
+You may also use a leading vertical bar:
767
768
```graphql
769
union SearchResult =
770
| Photo
771
| Person
772
773
774
-Note Trailing vertical bars are not supported.
+Trailing delimiters are not supported:
775
+
776
+```!graphql
777
+union SearchResult = Photo | Person |
778
+```
779
780
### Enums
781
0 commit comments