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

Make OxQL query response type into an object #6374

Merged
merged 6 commits into from
Aug 18, 2024

Conversation

bnaecker
Copy link
Collaborator

@bnaecker bnaecker requested a review from david-crespo August 17, 2024 02:56
Copy link
Contributor

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

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

Looks good! I think with #6373, OxqlQueryResult will have to live in nexus/types/src/external_api/views.rs, so you might as well move it there already.

@bnaecker
Copy link
Collaborator Author

Makes sense, thanks. @sunshowers should I wait until the Nexus external API sequence lands to merge this? It's not a big conflict, but I don't want to hold the train.

Copy link
Contributor

@sunshowers sunshowers left a comment

Choose a reason for hiding this comment

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

How about landing this after #6364? (That will cause a semantic merge conflict with this PR sadly.) The rest are pretty easy to fix up, thanks!

nexus/src/external_api/http_entrypoints.rs Outdated Show resolved Hide resolved
nexus/src/external_api/http_entrypoints.rs Outdated Show resolved Hide resolved
@bnaecker bnaecker force-pushed the return-object-from-oxql-query branch from f1fddda to 27ff09e Compare August 18, 2024 04:48
@bnaecker
Copy link
Collaborator Author

I've updated this on Rain's #6364, and set this to automerge. Thanks for the reviews y'all!.

@bnaecker bnaecker enabled auto-merge (squash) August 18, 2024 04:49
@bnaecker bnaecker merged commit a63e784 into main Aug 18, 2024
24 checks passed
@bnaecker bnaecker deleted the return-object-from-oxql-query branch August 18, 2024 06:35
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.

Type returned from OxQL queries should be an object
3 participants