graphql-engine/v3/crates/jsonapi
Daniel Chambers d3491fc9f6 Upgrade to NDC v0.2.0-rc.1 (#1291)
### What
This PR updates the engine to use the NDC Spec v0.2.0-rc.1 version. This
is very likely to be the final RC before release.

### How

The `ndc_models` crate got updated, which then resulted in the schema
migration code in `metadata_resolve` being updated. This affected a lot
of test results because connectors that used deprecated type
representations got migrated to other representations, and if a type
representation was missing then JSON was used instead.

The NDC request-sending code in `execute` was updated to send the
`X-Hasura-NDC-Version` header depending on the version of request
getting sent.

The custom connector was updated to be compatible with the new NDC
0.2.0-rc.1 types. This resulted in the schema changing, so a lot of
tests that contained the connector's schema were updated.

---------

Co-authored-by: Daniel Harvey <danieljamesharvey@gmail.com>
V3_GIT_ORIGIN_REV_ID: b1c7081eb1ee6cffdead08328a857903102332c6
2024-11-06 13:08:10 +00:00
..
src Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
tests JSONAPI filtering part 1 (#1314) 2024-11-05 18:09:02 +00:00
Cargo.toml JSONAPI in multitenant (#1303) 2024-11-04 15:11:35 +00:00
readme.md Empty jsonapi crate (#1088) 2024-09-10 10:58:37 +00:00

jsonapi

A place to put all the pieces whilst we work things out