graphql-engine/v3/crates/engine/tests
Rakesh Emmadi 010a313988 Expose error caused by negative limit and offset values in the API response (#471)
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
2024-04-18 06:35:38 +00:00
..
execute Expose error caused by negative limit and offset values in the API response (#471) 2024-04-18 06:35:38 +00:00
explain Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
generate_ir fix bug with multiple fields in boolean expressions (#442) 2024-04-05 08:02:37 +00:00
ndc-postgres-configuration use new Postgres mutations (#438) 2024-04-03 11:51:53 +00:00
validate_metadata_artifacts Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
auth_config.jsonschema Enforce titles are set on most metadata json schemas (#434) 2024-04-02 23:39:44 +00:00
chinook-postgres.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
common.rs NDC response size limit (#439) 2024-04-04 04:56:50 +00:00
db_definition.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
execution.rs Expose error caused by negative limit and offset values in the API response (#471) 2024-04-18 06:35:38 +00:00
explain.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
introspection.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
relationship.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
schema.json Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
validate_metadata.rs break out BooleanExpressionError from Error (#449) 2024-04-09 09:16:27 +00:00