You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/Appendix C -- Built-in Definitions.md
+99-34Lines changed: 99 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
# C. Appendix: Type System Definitions
3
2
4
3
This appendix lists all the type system definitions mentioned throughout this
@@ -12,29 +11,39 @@ for consistency but different descriptions are allowed.
12
11
Directs the executor to include this field or fragment only when the `if` argument is true.
13
12
"""
14
13
directive@include(
15
-
"""Included when true."""
14
+
"""
15
+
Included when true.
16
+
"""
16
17
if: Boolean!
17
18
) onFIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
18
19
19
20
"""
20
21
Directs the executor to skip this field or fragment when the `if` argument is true.
21
22
"""
22
23
directive@skip(
23
-
"""Skipped when true."""
24
+
"""
25
+
Skipped when true.
26
+
"""
24
27
if: Boolean!
25
28
) onFIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
26
29
27
-
"""Marks an element of a GraphQL schema as no longer supported."""
30
+
"""
31
+
Marks an element of a GraphQL schema as no longer supported.
32
+
"""
28
33
directive@deprecated(
29
34
"""
30
35
Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).
0 commit comments