mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
010a313988
Previously, negative values for `offset` and `limit` input fields resulted in an internal error and not exposed in the API response. The reason is that these errors are raised from normalized_ast conversion after GraphQL validation. The validation will only check for the type, but not the value of the input fields. This Commit: - Introduces a utility function to lift any unexpected value internal error to external. - Use the function for `limit` and `offset` input field value coercion. V3_GIT_ORIGIN_REV_ID: a186eb89a836359427e58f7a847eab3e2f8fafa4 |
||
---|---|---|
.. | ||
benches | ||
bin/engine | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |