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

Rename query type to batch mode. #731

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Conversation

jhoyla
Copy link
Contributor

@jhoyla jhoyla commented Nov 28, 2024

Draft 12 renames "query type" to "batch mode". This PR mirrors that change.
Doing so has lead to some changes in the naming of various structs.
QueryConfigVar is now simply BatchMode, and DapQueryConfig is now DapBatchMode.
You can see from the conversion functions that this makes more sense.
We preserve the format of the BatchMode structs from draft-09, rather than storing an opaque batch_config<1..2^16-1>, because it doesn't make sense to store unparsed/encoded data.

@jhoyla jhoyla force-pushed the jhoyla/rename-query-type-to-batch-mode branch from e22d84d to 6858ee2 Compare November 28, 2024 16:34
@jhoyla jhoyla merged commit fd359ba into main Nov 28, 2024
3 checks passed
@jhoyla jhoyla deleted the jhoyla/rename-query-type-to-batch-mode branch November 28, 2024 16:49
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.

2 participants