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

Set bytes=. option for community/neoeinstein-prost generated SDKs #1425

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

stefanvanburen
Copy link
Member

This option will change the generated code for the protobuf bytes type fields from Vec<u8> types to bytes::Bytes types from the bytes crate. We believe that this type is more ergonomic in most cases for most users, and that the additional dependency is warranted for Generated SDKs.

This option will change the generated code for the protobuf `bytes` type
fields from `Vec<u8>` types to `bytes::Bytes` types from the `bytes`
crate. We believe that this type is more ergonomic in most cases for
most users, and that the additional dependency is warranted for
Generated SDKs.
@stefanvanburen stefanvanburen merged commit ffa6e51 into main Aug 13, 2024
5 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/prost-bytes branch August 13, 2024 16:21
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