You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we only support boxed(field_name). Sometimes we may just want to box a type in all occurances.
example:
oneof typ {
A a = 1;
B b = 2;
// ...
}
messageA {
LargeMessagem=1;
// ...
}
// LargeMessage may even occur multiple times.messageB {
LargeMessagem1=1;
LargeMessagem2=2;
// ...
}
One solution is just boxing all enum variants #1209
Another solution is to box LargeMessage types in all places instead, which will need a new feature by prost-build. It will be troublesome to specify all boxed(field_name)
The text was updated successfully, but these errors were encountered:
Currently we only support
boxed(field_name)
. Sometimes we may just want to box a type in all occurances.example:
This can easily lead to
large_enum_variant
problem https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant (Our real example is here risingwavelabs/risingwave#19906)One solution is just boxing all enum variants #1209
Another solution is to box
LargeMessage
types in all places instead, which will need a new feature byprost-build
. It will be troublesome to specify allboxed(field_name)
The text was updated successfully, but these errors were encountered: