diff --git a/docs/source/errors.mdx b/docs/source/errors.mdx index 7f2f90ceb..f92c1ca17 100644 --- a/docs/source/errors.mdx +++ b/docs/source/errors.mdx @@ -1021,272 +1021,6 @@ A shareable field return type has mismatched possible runtime types in the subgr -##### `SOURCE_API_HTTP_BASE_URL_INVALID` - -Since v2.7.0 - - - - -The `@sourceAPI` directive must specify a valid http.baseURL. - - - - - - -##### `SOURCE_API_NAME_INVALID` - -Since v2.7.0 - - - - -Each `@sourceAPI` directive must take a unique and valid name as an argument. - - - - - - -##### `SOURCE_API_PROTOCOL_INVALID` - -Since v2.7.0 - - - - -Each `@sourceAPI` directive must specify exactly one of the known protocols. - - - - - - -##### `SOURCE_FEDERATION_VERSION_REQUIRED` - -Since v2.7.1 - - - - -Schemas using `@source{API,Type,Field}` directives must `@link`-import v2.7 or later of Federation. - - - - - - -##### `SOURCE_FIELD_API_ERROR` - -Since v2.7.0 - - - - -The `api` argument of the `@sourceField` directive must match a valid `@sourceAPI` name. - - - - - - -##### `SOURCE_FIELD_HTTP_BODY_INVALID` - -Since v2.7.0 - - - - -If `@sourceField` specifies http.body, it must be a valid `JSONSelection` matching available arguments and fields. - - - - - - -##### `SOURCE_FIELD_HTTP_METHOD_INVALID` - -Since v2.7.0 - - - - -The `@sourceField` directive must specify at most one of `http.{GET,POST,PUT,PATCH,DELETE}`. - - - - - - -##### `SOURCE_FIELD_HTTP_PATH_INVALID` - -Since v2.7.0 - - - - -The `@sourceField` directive must specify a valid URL template for `http.{GET,POST,PUT,PATCH,DELETE}`. - - - - - - -##### `SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD` - -Since v2.7.0 - - - - -The `@sourceField` directive must be applied to a field of the `Query` or `Mutation` types, or of an entity type. - - - - - - -##### `SOURCE_FIELD_PROTOCOL_INVALID` - -Since v2.7.0 - - - - -If `@sourceField` specifies a protocol, it must match the corresponding `@sourceAPI` protocol. - - - - - - -##### `SOURCE_FIELD_SELECTION_INVALID` - -Since v2.7.0 - - - - -The `selection` argument of the `@sourceField` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type. - - - - - - -##### `SOURCE_HTTP_HEADERS_INVALID` - -Since v2.7.0 - - - - -The `http.headers` argument of `@source*` directives must specify valid HTTP headers. - - - - - - -##### `SOURCE_TYPE_API_ERROR` - -Since v2.7.0 - - - - -The `api` argument of the `@sourceType` directive must match a valid `@sourceAPI` name. - - - - - - -##### `SOURCE_TYPE_HTTP_BODY_INVALID` - -Since v2.7.0 - - - - -If the `@sourceType` specifies `http.body`, it must be a valid `JSONSelection`. - - - - - - -##### `SOURCE_TYPE_HTTP_METHOD_INVALID` - -Since v2.7.0 - - - - -The `@sourceType` directive must specify exactly one of `http.GET` or `http.POST`. - - - - - - -##### `SOURCE_TYPE_HTTP_PATH_INVALID` - -Since v2.7.0 - - - - -The `@sourceType` directive must specify a valid URL template for `http.GET` or `http.POST`. - - - - - - -##### `SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY` - -Since v2.7.0 - - - - -The `@sourceType` directive must be applied to an object or interface type that also has `@key`. - - - - - - -##### `SOURCE_TYPE_PROTOCOL_INVALID` - -Since v2.7.0 - - - - -The `@sourceType` directive must specify the same protocol as its corresponding `@sourceAPI`. - - - - - - -##### `SOURCE_TYPE_SELECTION_INVALID` - -Since v2.0.0 - - - - -The `selection` argument of the `@sourceType` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type. - - - - - - ##### `TYPE_DEFINITION_INVALID` Since v2.0.0