edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
216 stars 25 forks source link

Upgrade to binary protocol v2.0 #336

Open ifiokjr opened 3 months ago

ifiokjr commented 3 months ago

Description

Currently, edgedb-protocol uses the binary protocol 1.0.

For my current project edgedb_codegen I would like access to the enum name for autogenerating shared types and better type checking.

This is available in the binary protocol version 2.0: https://docs.edgedb.com/database/reference/protocol/typedesc.

This can either be as a breaking release or adding the ability to support both protocol versions.