mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
6a791bc913
<!-- 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 |
||
---|---|---|
.. | ||
custom-connector | ||
dev-auth-webhook | ||
engine | ||
hasura-authn-core | ||
hasura-authn-jwt | ||
hasura-authn-webhook | ||
lang-graphql | ||
metadata-schema-generator | ||
open-dds | ||
opendds-derive | ||
recursion_limit_macro | ||
tracing-util |