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

Replace headers with annotations in Parse/Execute #8037

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Conversation

fantix
Copy link
Member

@fantix fantix commented Nov 25, 2024

Take annotations (dict[str, str]) instead of headers (dict[int, bytes]) in Parse/Execute messages.

We forgot this in protocol 1.0 but had been ignoring headers, so it was fine until we're trying to make use of annotations now in EdgeDB 6.0. This change is a part of the binary protocol version 2.0 (EdgeDB 6.0a1 or nightlies before this PR will not work properly with annotations).

Copy link
Member

@elprans elprans left a comment

Choose a reason for hiding this comment

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

There are more messages with Annotations in them, please check the protocol docs.

@fantix fantix merged commit cfe5406 into master Nov 26, 2024
23 checks passed
@fantix fantix deleted the fix-annotations branch November 26, 2024 20:57
@fantix

This comment was marked as outdated.

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