Open abhijitkadam opened 2 years ago
For proto: `message Transaction { oneof identity { TokenData token = 1; bytes publickey = 2; }
}`
If I execute:
pb-rs transaction.proto -C serde::Serialize,serde::Deserialize
Then following is created without custom derive that bubbles up and gives error:
#[derive(Debug, PartialEq, Clone)] pub enum OneOfidentity<'a> { token(.....
For proto: `message Transaction { oneof identity { TokenData token = 1; bytes publickey = 2; }
}`
If I execute:
pb-rs transaction.proto -C serde::Serialize,serde::Deserialize
Then following is created without custom derive that bubbles up and gives error:
#[derive(Debug, PartialEq, Clone)] pub enum OneOfidentity<'a> { token(.....