graphql-engine/v3/crates
Daniel Harvey e7462f7884 Tidy boolean expression schema generation (#920)
<!-- The PR description should answer 2 important questions: -->

### What

Trying to understand what is going on here. Still no closer, but have
added a test and made some types more specific in order to clarify my
understanding.

<!-- What is this PR trying to accomplish (and why, if it's not
obvious)? -->

<!-- Consider: do we need to add a changelog entry? -->

<!-- Does this PR introduce new validation that might break old builds?
-->

<!-- Consider: do we need to put new checks behind a flag? -->

### How

Add some introspection tests for relationships with
`ObjectBooleanExpressionType`s to ensure they generate. Tried to make
relationship fields disappear to recreate build problems but could not.

Split `BooleanExpressionGraphqlConfig` and
`ObjectBooleanExpressionGraphqlConfig` to make sure we're not mixing
them up. We only want to use `BooleanExpressionGraphqlConfig` in
`metadata_resolve`, this ensures that.

Pushed some partiality in `schema/boolean_expressions.rs` out - a
function was `Option<inputs> -> Option<outputs>` and now it's `inputs ->
outputs`. We use `Option` a lot and it makes reasoning why something
hasn't been added to the schema difficult.

<!-- How is it trying to accomplish it (what are the implementation
steps)? -->

V3_GIT_ORIGIN_REV_ID: 893e6f32bfded14ea724be7eaedc519e264f4c01
2024-08-02 13:04:10 +00:00
..
auth Default to IPV6 on dev-auth-webhook (#905) 2024-07-30 08:47:55 +00:00
custom-connector Bug fixes around argument presets in the DataConnectorLink (#866) 2024-08-02 09:25:45 +00:00
engine Tidy boolean expression schema generation (#920) 2024-08-02 13:04:10 +00:00
execute Bug fixes around argument presets in the DataConnectorLink (#866) 2024-08-02 09:25:45 +00:00
ir Bug fixes around argument presets in the DataConnectorLink (#866) 2024-08-02 09:25:45 +00:00
lang-graphql Explicitly import thiserror::Error in place (#827) 2024-07-11 15:18:27 +00:00
metadata-resolve Tidy boolean expression schema generation (#920) 2024-08-02 13:04:10 +00:00
metadata-schema-generator Move all dependency versions into the workspace file. (#734) 2024-06-20 12:25:55 +00:00
open-dds Bug fixes around argument presets in the DataConnectorLink (#866) 2024-08-02 09:25:45 +00:00
plugins/pre-execution-plugin Explicitly import thiserror::Error in place (#827) 2024-07-11 15:18:27 +00:00
query-usage-analytics Reimplement most OpenDD newtypes using SmolStr and a macro (#797) 2024-07-05 10:16:33 +00:00
schema Tidy boolean expression schema generation (#920) 2024-08-02 13:04:10 +00:00
sql simplify the sql context that powers datafusion (#921) 2024-08-01 21:28:32 +00:00
utils Judicious relaying of untrusted baggage (#903) 2024-07-29 13:13:15 +00:00