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
'description' => 'Directs the executor to include this field or fragment only when the `if` argument is true.',
97
-
'locations' => [
98
-
DirectiveLocation::FIELD,
99
-
DirectiveLocation::FRAGMENT_SPREAD,
100
-
DirectiveLocation::INLINE_FRAGMENT,
101
-
],
102
-
'args' => [
103
-
self::IF_ARGUMENT_NAME => [
104
-
'type' => Type::nonNull(Type::boolean()),
105
-
'description' => 'Included when true.',
106
-
],
107
-
],
108
-
]),
109
-
'skip' => newself([
110
-
'name' => self::SKIP_NAME,
111
-
'description' => 'Directs the executor to skip this field or fragment when the `if` argument is true.',
112
-
'locations' => [
113
-
DirectiveLocation::FIELD,
114
-
DirectiveLocation::FRAGMENT_SPREAD,
115
-
DirectiveLocation::INLINE_FRAGMENT,
116
-
],
117
-
'args' => [
118
-
self::IF_ARGUMENT_NAME => [
119
-
'type' => Type::nonNull(Type::boolean()),
120
-
'description' => 'Skipped when true.',
121
-
],
122
-
],
123
-
]),
124
-
'deprecated' => newself([
125
-
'name' => self::DEPRECATED_NAME,
126
-
'description' => 'Marks an element of a GraphQL schema as no longer supported.',
127
-
'locations' => [
128
-
DirectiveLocation::FIELD_DEFINITION,
129
-
DirectiveLocation::ENUM_VALUE,
130
-
DirectiveLocation::ARGUMENT_DEFINITION,
131
-
DirectiveLocation::INPUT_FIELD_DEFINITION,
132
-
],
133
-
'args' => [
134
-
self::REASON_ARGUMENT_NAME => [
135
-
'type' => Type::string(),
136
-
'description' => '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/).',
'description' => 'Marks an element of a GraphQL schema as no longer supported.',
138
+
'locations' => [
139
+
DirectiveLocation::FIELD_DEFINITION,
140
+
DirectiveLocation::ENUM_VALUE,
141
+
DirectiveLocation::ARGUMENT_DEFINITION,
142
+
DirectiveLocation::INPUT_FIELD_DEFINITION,
143
+
],
144
+
'args' => [
145
+
self::REASON_ARGUMENT_NAME => [
146
+
'type' => Type::string(),
147
+
'description' => '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