One entry of a response's errors, as the GraphQL specification
describes it. path[0] is the response key (the alias, when the
document used one). Other top-level keys, such as GitHub's type,
are kept as JSON values.
Attributes#
| Attribute | Type | Description |
|---|---|---|
message | str | |
locations | NotRequired[Sequence[Location]] | |
path | NotRequired[Sequence[str | float]] | |
extensions | NotRequired[Mapping[str, S.JsonValue]] |
On This Page
Attributes