graphql-engine/v3/crates/metadata-resolve
Daniel Harvey cf17d0a414 Tidy models metadata-resolve (#729)
<!-- Thank you for submitting this PR! :) -->

## Description

Doing some work on the `models` section and it's a bit big and
confusing, so doing a tidy-up to get my head around it all. Splits the
large module into separate files (`ordering`, `source`, `graphql`,
`filter` etc).

Only actual changes are:
- Move filter resolving to after model source is checked, so we can
refer to it. This will be useful for the thing I actually want to do.
- Make steps like `graphql` and `source` return the values they create
rather than mutating `Model` directly.
- Move some filter checks into `filter` rather than `source`, now we are
able to. This logic was all over the place.

Functional no-op.

V3_GIT_ORIGIN_REV_ID: 540db16d34590ed9e481c36d251ab5e1886f2c81
2024-06-18 14:13:02 +00:00
..
src Tidy models metadata-resolve (#729) 2024-06-18 14:13:02 +00:00
tests Use file globs in metadata-resolve tests (#728) 2024-06-18 12:19:07 +00:00
Cargo.toml Bump serde_json from 1.0.116 to 1.0.117 (#722) 2024-06-17 05:13:47 +00:00