-
Notifications
You must be signed in to change notification settings - Fork 68
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
protobuf support #715
Comments
Serialized Protobuf bytes doesn't contain scheme data, is it even possible to decode protobuf bytes without source proto file? |
Maybe relevant. The following project generates Pydantic models from protobuf: I think the support has to be added there instead? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using msgspec to shuttle data around where I'm often both the server and the client, meaning the schema is predefined and protobuf's extra compression would be nice. Taking a look at the protobuf Python library, msgspec sure looks a lot more friendly and it seems all that stuff could be handled with msgspec's pre-existing encoder / decoder hooks. It would be amazing to simply drop-in
msgspec.protobuf.encode()
formsgspec.msgpack.encode()
.The text was updated successfully, but these errors were encountered: