Replies: 2 comments
-
I forgot my current prost_build::Config::new()
.message_attribute(".", "#[derive(serde::Serialize)]")
.compile_protos(&["src/gtfs-realtime.proto"], &["src/"])?; edit: and I'm doing JSON serialization way above on a parent struct several levels higher. I know there's |
Beta Was this translation helpful? Give feedback.
0 replies
-
having the same issue with I want
not
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with this protobuf definition right now: https://developers.google.com/static/transit/gtfs-realtime/gtfs-realtime.proto
Right now this enum:
Is showing up in my JSON as:
Is there a straightforward way to get this value showing up as
MANY_SEATS_AVAILABLE
? Or evenManySeatsAvailable
(which I see in the generated prost rust)?Beta Was this translation helpful? Give feedback.
All reactions