-
Notifications
You must be signed in to change notification settings - Fork 3
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
update to ndc-spec v0.1.6 to implement support for querying nested collections #101
Conversation
Engine support is in now since this release: https://github.com/hasura/v3-engine/releases/tag/v2024.09.02 |
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 have to admit I'm not that familiar with this codebase, but the changes seem sensible and I can see a test covering the new functionality. Nice work.
{ "institution": "Black Mesa", "staff": [{ "name": "Freeman" }, { "name": "Calhoun" }] } | ||
{ "institution": "Aperture Science", "staff": [{ "name": "GLaDOS" }, { "name": "Chell" }] } | ||
{ "institution": "City 17", "staff": [{ "name": "Alyx" }, { "name": "Freeman" }, { "name": "Breen" }] } |
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.
Awesome 😂❤️
This still needs some testingAdded unit tests -integration tests will wait until we have engine support for exists-in-nested-collection.Added integration test! Plus a fix that I found was necessary after trying to run the integration test.I added some support for more ad-hoc data for test cases that I worked on recently. I also moved the fixture connector configuration files because twice now I've run into situations where I was wondering why something wasn't working, and then I realized that I wrote configuration to one directory, but the connectors were reading configuration from a subdirectory. That bumped the changed file count for this PR up quite a bit. I recommend not paying much attention to changes in the
fixtures/
directory.