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: docs/source/schema-design/federated-schemas/reference/errors.mdx
+92-34Lines changed: 92 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,14 +62,86 @@ A [circular reference](/graphos/schema-design/connectors/troubleshooting#circula
62
62
<tr>
63
63
<td>
64
64
65
+
##### `CONNECT_BATCH_AND_THIS`
66
+
67
+
Since v2.11.0<sup>\*\*</sup>
68
+
69
+
</td>
70
+
<td>
71
+
72
+
Using both [`$batch`](/graphos/connectors/mapping/variables#batch) and [`$this`](/graphos/connectors/mapping/variables#this) in a mapping is not allowed.
73
+
74
+
</td>
75
+
</tr>
76
+
<tr>
77
+
<td>
78
+
79
+
###### `CONNECTORS_BATCH_KEY_NOT_IN_SELECTION`
80
+
81
+
Since v2.11.0<sup>\*\*</sup>
82
+
83
+
</td>
84
+
<td>
85
+
86
+
`$batch` key is not reflected in the output selection of connector.
87
+
88
+
</td>
89
+
</tr>
90
+
<tr>
91
+
<td>
92
+
93
+
###### `CONNECTORS_CANNOT_RESOLVE_KEY`
94
+
95
+
Since v2.11.0<sup>\*\*</sup>
96
+
97
+
</td>
98
+
<td>
99
+
100
+
A `@key` could not be resolved for the given combination of variables.
101
+
102
+
</td>
103
+
</tr>
104
+
<tr>
105
+
<td>
106
+
65
107
###### `CONNECTORS_FIELD_WITH_ARGUMENTS`
66
108
67
109
Since v2.10.0<sup>\*\*</sup>
68
110
69
111
</td>
70
112
<td>
71
113
72
-
A field resolved by a connector has arguments defined.
114
+
A field resolved by a [connector](/graphos/connectors) has arguments defined.
115
+
116
+
</td>
117
+
</tr>
118
+
<tr>
119
+
<td>
120
+
121
+
###### `CONNECTORS_NON_ROOT_BATCH_KEY`
122
+
123
+
Since v2.11.0<sup>\*\*</sup>
124
+
125
+
126
+
</td>
127
+
<td>
128
+
129
+
Connector `$batch` key cannot be derived from a non-root variable such as `$this` or `$context`.
130
+
131
+
</td>
132
+
</tr>
133
+
<tr>
134
+
<td>
135
+
136
+
137
+
###### `CONNECT_ON_ROOT`
138
+
139
+
Since v2.11.0<sup>\*\*</sup>
140
+
141
+
</td>
142
+
<td>
143
+
144
+
`@connect` cannot be applied to a query, mutation, or subscription root type
73
145
74
146
</td>
75
147
</tr>
@@ -83,7 +155,7 @@ Since v2.10.0<sup>\*\*</sup>
83
155
</td>
84
156
<td>
85
157
86
-
The schema includes fields that aren't resolved by a connector.
158
+
The schema includes fields that aren't resolved by a [connector](/graphos/connectors).
87
159
88
160
</td>
89
161
</tr>
@@ -97,7 +169,7 @@ Since v2.10.0<sup>\*\*</sup>
97
169
</td>
98
170
<td>
99
171
100
-
[Abstract types](/graphos/schema-design/connectors/limitations#abstract-schema-types-are-unsupported) are not allowed when using connectors.
172
+
[Abstract types](/graphos/connectors/reference/limitations#abstract-schema-types-are-unsupported) are not allowed when using connectors.
101
173
102
174
</td>
103
175
</tr>
@@ -111,7 +183,7 @@ Since v2.10.0<sup>\*\*</sup>
111
183
</td>
112
184
<td>
113
185
114
-
[Certain directives](/graphos/schema-design/connectors/limitations) are not allowed when using connectors.
186
+
[Certain directives](/graphos/connectors/reference/limitations) are not allowed when using connectors.
115
187
116
188
</td>
117
189
</tr>
@@ -199,7 +271,7 @@ Since v2.10.0<sup>\*\*</sup>
199
271
</td>
200
272
<td>
201
273
202
-
Indicates two connector sources with the same name were created.
274
+
Indicates two connector [sources](/graphos/connectors/requests#sharing-configuration-with-source) with the same name were created.
203
275
204
276
</td>
205
277
</tr>
@@ -242,7 +314,7 @@ Since v2.10.0<sup>\*\*</sup>
242
314
</td>
243
315
<td>
244
316
245
-
No `name` was provided when creating a connector source with `@source`.
317
+
No `name` was provided when creating a connector source with [`@source`](/graphos/connectors/requests#sharing-configuration-with-source).
Fields that return an object type must use a group selection mapping `{}`.
587
+
Fields that return an object type must use a group selection mapping (i.e. `a { b }`).
516
588
517
589
</td>
518
590
</tr>
@@ -568,7 +640,7 @@ Since v2.10.0<sup>\*\*</sup>
568
640
</td>
569
641
<td>
570
642
571
-
The `http.body` provided in `@connect` was not valid.
643
+
The mapping for `http.body` provided in `@connect` was not valid. See [Mapping Language Reference](/graphos/connectors/mapping) for more information on writing mappings.
572
644
573
645
</td>
574
646
</tr>
@@ -582,7 +654,7 @@ Since v2.10.0<sup>\*\*</sup>
582
654
</td>
583
655
<td>
584
656
585
-
A provided header in `@source` or `@connect` was not valid.
657
+
A provided header in `@source` or `@connect` was not valid. See [Headers](/graphos/connectors/requests#headers) for more on connector request headers.
586
658
587
659
</td>
588
660
</tr>
@@ -596,7 +668,7 @@ Since v2.10.0<sup>\*\*</sup>
596
668
</td>
597
669
<td>
598
670
599
-
The provided selection mapping in a `@connect`s `selection` was not valid.
671
+
The provided selection mapping in a `@connect`s `selection` was not valid. See [Mapping Language Reference](/graphos/connectors/mapping) for more information on writing selection mappings.
600
672
601
673
</td>
602
674
</tr>
@@ -610,7 +682,7 @@ Since v2.10.0<sup>\*\*</sup>
610
682
</td>
611
683
<td>
612
684
613
-
The `name` provided for a `@source` was invalid. Source names must start with a letter, include only letters, numbers, underscores (`_`) and hyphens (`-`), and be less than 64 characters.
685
+
The `name` provided for a [`@source`](/graphos/connectors/requests#sharing-configuration-with-source) was invalid. Source names must start with a letter, include only letters, numbers, underscores (`_`) and hyphens (`-`), and be less than 64 characters.
614
686
615
687
</td>
616
688
</tr>
@@ -918,7 +990,7 @@ Since v2.10.0<sup>\*\*</sup>
918
990
</td>
919
991
<td>
920
992
921
-
A `@key` was defined without a corresponding entity connector.
993
+
A `@key` was defined without a corresponding entity connector. See: [Working with Entities](/graphos/connectors/responses/entities) for more information.
922
994
923
995
</td>
924
996
</tr>
@@ -932,7 +1004,7 @@ Since v2.10.0<sup>\*\*</sup>
932
1004
</td>
933
1005
<td>
934
1006
935
-
The `@connect` directive is missing an HTTP method.
1007
+
The `@connect` directive is missing an [HTTP method](/graphos/connectors/requests#http-methods).
936
1008
937
1009
</td>
938
1010
</tr>
@@ -946,7 +1018,7 @@ Since v2.10.0<sup>\*\*</sup>
946
1018
</td>
947
1019
<td>
948
1020
949
-
The `@connect` directive has multiple HTTP methods when only one is allowed.
1021
+
The `@connect` directive has multiple [HTTP methods](/graphos/connectors/requests#http-methods) when only one is allowed.
950
1022
951
1023
</td>
952
1024
</tr>
@@ -1009,20 +1081,6 @@ This is a specialization of [`SOURCE_NAME_MISMATCH`](#source_name_mismatch) erro
1009
1081
<tr>
1010
1082
<td>
1011
1083
1012
-
###### `NULLABILITY_MISMATCH`
1013
-
1014
-
Since v2.10.0<sup>\*\*</sup>
1015
-
1016
-
</td>
1017
-
<td>
1018
-
1019
-
A variable is nullable in a location which requires non-null at runtime.
1020
-
1021
-
</td>
1022
-
</tr>
1023
-
<tr>
1024
-
<td>
1025
-
1026
1084
###### `ONLY_INACCESSIBLE_CHILDREN`
1027
1085
1028
1086
Since v2.0.0
@@ -1464,7 +1522,7 @@ Since v2.10.0<sup>\*\*</sup>
1464
1522
</td>
1465
1523
<td>
1466
1524
1467
-
The `source` argument used in a `@connect` directive doesn't match any named connecter sources created with `@source`.
1525
+
The `source` argument used in a `@connect` directive doesn't match any named connector sources created with [`@source`](/graphos/connectors/requests#sharing-configuration-with-source).
1468
1526
1469
1527
</td>
1470
1528
</tr>
@@ -1478,7 +1536,7 @@ Since v2.10.0<sup>\*\*</sup>
1478
1536
</td>
1479
1537
<td>
1480
1538
1481
-
Connectors currently [don't support subscription operations](/graphos/schema-design/connectors/limitations#subscriptions-are-unsupported).
1539
+
Connectors currently [don't support subscription operations](/graphos/connectors/reference/limitations#subscriptions-are-unsupported).
1482
1540
1483
1541
</td>
1484
1542
</tr>
@@ -1536,7 +1594,7 @@ Since v2.10.0<sup>\*\*</sup>
1536
1594
</td>
1537
1595
<td>
1538
1596
1539
-
Part of the `@connect` refers to an `$args` which is not defined.
1597
+
Part of the `@connect`directive refers to an [`$args`](/graphos/connectors/mapping/variables#args) which is not defined.
1540
1598
1541
1599
</td>
1542
1600
</tr>
@@ -1550,7 +1608,7 @@ Since v2.10.0<sup>\*\*</sup>
1550
1608
</td>
1551
1609
<td>
1552
1610
1553
-
Part of the `@connect` refers to an `$this` which is not defined.
1611
+
Part of the `@connect`directive refers to an [`$this`](/graphos/connectors/mapping/variables#this) which is not defined.
1554
1612
1555
1613
</td>
1556
1614
</tr>
@@ -1634,7 +1692,7 @@ Since v2.10.0<sup>\*\*</sup>
1634
1692
</td>
1635
1693
<td>
1636
1694
1637
-
A type used in a connector's variable is [not yet supported](/graphos/schema-design/connectors/limitations) (i.e., unions).
1695
+
A type used in a connector's variable is [not yet supported](/graphos/connectors/reference/limitations) (i.e., unions).
0 commit comments