mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
7944fdbe4e
The massive `Error` enum from `execute.rs` disintegrates into the following independent error types. - `RequestError`: All exceptions occurred before executing the root field plans. Each variant in this error enum contains the error type stemming from isolated steps in the pipeline involving parsing, validation, IR conversion, and plan generation. - `FieldError`: Exception occurred when resolving a field through its plan. Multiple root fields are executed isolated, and field errors are collected in a list. Code paths for `explain` and `execute` query are split into two functions. This is done to avoid few error variants and unburden the function that previously does both. V3_GIT_ORIGIN_REV_ID: 21f2f43ee4805a955fa0ce7d9b45c4b1902def63 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |