graphql-engine/v3/crates
Daniel Harvey 6a791bc913 resolve predicates in the context of types (#444)
<!-- Thank you for submitting this PR! :) -->

## Description

This implements the first part of passing boolean expressions as command
arguments. It adds a `BooleanExpression` arm to `ValueExpression`, and
allows them to be resolved in the context of an ObjectType rather than
an entire model.

This means that if a boolean expression is passed to a command argument
that uses a field that doesn't exist, this happens:

<img width="960" alt="Screenshot 2024-04-05 at 15 54 20"
src="https://github.com/hasura/v3-engine/assets/4729125/cd795bc1-9fda-4cfb-bad3-1e70dd6227a0">

The output of this PR is that we can resolve metadata for boolean
expressions in command arguments, and generate a GraphQL schema for
them, but will throw an error if one is actually used. This will be
resolved in the follow-up PR.

V3_GIT_ORIGIN_REV_ID: 20b8840c313d7ee1f56ebd5becdb28bbe7743350
2024-04-26 14:06:12 +00:00
..
custom-connector support field presets for input types (#454) 2024-04-23 15:02:04 +00:00
dev-auth-webhook Include the dev-auth-webhook crate in the workspace. (#500) 2024-04-24 08:12:37 +00:00
engine resolve predicates in the context of types (#444) 2024-04-26 14:06:12 +00:00
hasura-authn-core use clippy settings in Cargo workspace (#441) 2024-04-08 10:14:11 +00:00
hasura-authn-jwt Set trace headers when making HTTP requests during JWT auth. (#477) 2024-04-18 18:12:53 +00:00
hasura-authn-webhook Include the dev-auth-webhook crate in the workspace. (#500) 2024-04-24 08:12:37 +00:00
lang-graphql resolve predicates in the context of types (#444) 2024-04-26 14:06:12 +00:00
metadata-schema-generator All benchmarks must be Criterion benchmarks. (#498) 2024-04-23 13:00:24 +00:00
open-dds resolve predicates in the context of types (#444) 2024-04-26 14:06:12 +00:00
opendds-derive Use references where possible instead of cloning. (#478) 2024-04-18 17:35:48 +00:00
recursion_limit_macro All benchmarks must be Criterion benchmarks. (#498) 2024-04-23 13:00:24 +00:00
tracing-util Use references where possible instead of cloning. (#478) 2024-04-18 17:35:48 +00:00