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

Binary protocol abstraction and protocol v2.0 #59

Merged
merged 12 commits into from
Sep 25, 2023
Merged

Conversation

quinchs
Copy link
Collaborator

@quinchs quinchs commented Jul 13, 2023

Summary

This PR abstracts the inner workings of the binary protocol from the underlying client via IProtocolProvider. A client maintains a protocol provider, chosen by the initial handshake, which can be upgraded/downgraded based off the servers handshake.

With this abstraction, protocol v2.0 was added which supports the new type descriptor layout found in src/EdgeDB.Net.Driver/Binary/Protocol/V2.0

@quinchs quinchs merged commit 33ff79d into dev Sep 25, 2023
2 checks passed
@quinchs quinchs deleted the feat/protocol2.0 branch September 25, 2023 18:48
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