Skip to content
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

Merged
merged 18 commits into from
Sep 9, 2024

Conversation

hallettj
Copy link
Collaborator

@hallettj hallettj commented Sep 5, 2024

This still needs some testing Added 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.

@hallettj hallettj self-assigned this Sep 5, 2024
@hallettj hallettj marked this pull request as ready for review September 5, 2024 19:23
@codedmart
Copy link
Collaborator

engine support for exists-in-nested-collection

Engine support is in now since this release: https://github.com/hasura/v3-engine/releases/tag/v2024.09.02

Copy link
Contributor

@daniel-chambers daniel-chambers left a 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.

Comment on lines +1 to +3
{ "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" }] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 😂❤️

@hallettj hallettj merged commit fa22741 into main Sep 9, 2024
1 check passed
@hallettj hallettj deleted the jessehallett/ndc-419-update-for-ndc-spec-016 branch September 9, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants