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
We need to produce JSON which is either compatible with Amino or Protobuf JSON, and adding only Serialize attribute on every struct in the generated code won’t get us all of the way there.
We need to pick which JSON serialization we're going to support and find a first-class solution for that.
As an example: Protobuf JSON uses Base64 to encode bytes fields.
I found that we can add some tags on generated struct during compilation.
Why don't we add attributes at build time like below?
tokio-rs/prost#75 (comment)
The text was updated successfully, but these errors were encountered: