tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.92k stars 504 forks source link

How to get <T> instead of Option<T> as default representation for all user-defined message types #945

Open lcmgh opened 11 months ago

lcmgh commented 11 months ago

The doc states: Note that in proto3 the default representation for all user-defined message types is Option

Can this be disabled somehow?

avangogo commented 9 months ago

This is currently not possible. See related propositions:

But I would love so see some support for this.