-
Notifications
You must be signed in to change notification settings - Fork 3
recreate supergraph fixture using latest cli version #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
); | ||
Ok(()) | ||
} | ||
// This doesn't seem to work anymore in the latest engine version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be re-enabled if you put the CompatibilityConfig
date back I believe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried setting CompatibilityConfig
to an earlier date, and it didn't help so I'm removing this test. This functionality isn't supported until the next ndc-spec version anyway.
@@ -10,9 +10,7 @@ | |||
"fields": { | |||
"Name": { | |||
"type": { | |||
"nullable": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am assuming this is expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's nothing to worry about
Recreates the supergraph in
fixtures/hasura/
using ddn cli v2.15.0 with as little hand-editing of metadata as possible. This makes it much easier to continue updating metadata using the cli.This PR mainly affects the integration test and local development testing setup. But since I needed to update the GraphQL Engine version used in integration tests I updated flake inputs. That leads to updating the openssl version. And since all of that leads to rebuilding stuff anyway I also updated the Rust toolchain to v1.83.0.
An issue that came up is that the hack I had tested to filter by array fields does not seem to work anymore. It looks like this is because of a change in the engine - the relevant test fails with the previous metadata fixture with the latest engine version. I've disabled the test. This is the test query:
Note that
cast
is an array of strings. It looks like we may need to wait for ndc-spec v0.2 to be able to do this properly.The changes here include a lot of automatically-generated configuration in
fixtures/hasura/
so it's a big set of changes.