Skip to content

Commit

Permalink
remove vestigial connector preview errors
Browse files Browse the repository at this point in the history
these errors are technically in fed 2.7 but were removed for 2.9 and beyond. we never formally documented the directives that would trigger them so they can be removed.

this file isn't generated is it?
  • Loading branch information
lennyburdette authored Oct 17, 2024
1 parent 4c6c268 commit 3ac4bc5
Showing 1 changed file with 0 additions and 266 deletions.
266 changes: 0 additions & 266 deletions docs/source/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1021,272 +1021,6 @@ A shareable field return type has mismatched possible runtime types in the subgr
<tr>
<td>

##### `SOURCE_API_HTTP_BASE_URL_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceAPI` directive must specify a valid http.baseURL.

</td>
</tr>
<tr>
<td>

##### `SOURCE_API_NAME_INVALID`

Since v2.7.0

</td>
<td>

Each `@sourceAPI` directive must take a unique and valid name as an argument.

</td>
</tr>
<tr>
<td>

##### `SOURCE_API_PROTOCOL_INVALID`

Since v2.7.0

</td>
<td>

Each `@sourceAPI` directive must specify exactly one of the known protocols.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FEDERATION_VERSION_REQUIRED`

Since v2.7.1

</td>
<td>

Schemas using `@source{API,Type,Field}` directives must `@link`-import v2.7 or later of Federation.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_API_ERROR`

Since v2.7.0

</td>
<td>

The `api` argument of the `@sourceField` directive must match a valid `@sourceAPI` name.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_HTTP_BODY_INVALID`

Since v2.7.0

</td>
<td>

If `@sourceField` specifies http.body, it must be a valid `JSONSelection` matching available arguments and fields.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_HTTP_METHOD_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceField` directive must specify at most one of `http.{GET,POST,PUT,PATCH,DELETE}`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_HTTP_PATH_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceField` directive must specify a valid URL template for `http.{GET,POST,PUT,PATCH,DELETE}`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD`

Since v2.7.0

</td>
<td>

The `@sourceField` directive must be applied to a field of the `Query` or `Mutation` types, or of an entity type.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_PROTOCOL_INVALID`

Since v2.7.0

</td>
<td>

If `@sourceField` specifies a protocol, it must match the corresponding `@sourceAPI` protocol.

</td>
</tr>
<tr>
<td>

##### `SOURCE_FIELD_SELECTION_INVALID`

Since v2.7.0

</td>
<td>

The `selection` argument of the `@sourceField` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type.

</td>
</tr>
<tr>
<td>

##### `SOURCE_HTTP_HEADERS_INVALID`

Since v2.7.0

</td>
<td>

The `http.headers` argument of `@source*` directives must specify valid HTTP headers.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_API_ERROR`

Since v2.7.0

</td>
<td>

The `api` argument of the `@sourceType` directive must match a valid `@sourceAPI` name.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_HTTP_BODY_INVALID`

Since v2.7.0

</td>
<td>

If the `@sourceType` specifies `http.body`, it must be a valid `JSONSelection`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_HTTP_METHOD_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceType` directive must specify exactly one of `http.GET` or `http.POST`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_HTTP_PATH_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceType` directive must specify a valid URL template for `http.GET` or `http.POST`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY`

Since v2.7.0

</td>
<td>

The `@sourceType` directive must be applied to an object or interface type that also has `@key`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_PROTOCOL_INVALID`

Since v2.7.0

</td>
<td>

The `@sourceType` directive must specify the same protocol as its corresponding `@sourceAPI`.

</td>
</tr>
<tr>
<td>

##### `SOURCE_TYPE_SELECTION_INVALID`

Since v2.0.0

</td>
<td>

The `selection` argument of the `@sourceType` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type.

</td>
</tr>
<tr>
<td>

##### `TYPE_DEFINITION_INVALID`

Since v2.0.0
Expand Down

0 comments on commit 3ac4bc5

Please sign in to comment.