Lucio Franco
Lucio Franco
You will need to use `compile_well_known_types` for this to work since without that option `prost` pulls in `prost-types` for these well known types and it doesn't have `serde` support.
If you have a minimal reproduction of the issues I can take a look at why that doesn't work.
With compile_well_known on it seems like you're not setting up the includes correctly. Are you using the `include_file` config option?
I think that is possibly and option, I am not really happy with the current way that we support field/type attributes. I'd be happy for someone to champion this as...
No one is currently working on this at the moment.
What do you rename the files too? In addition, this is the approach I took for `console` to commit the generated code https://github.com/tokio-rs/console/tree/main/console-api/src
If I understand correctly this change would allow prost-build to generate code with warnings?
Could this be provided by an external crate?
Yeah that seems fair, I guess since rust supports it as a primitive we could add support. I would be open to accepting a PR for this.
hi @thaodt you can come on discord and we can chat in the #prost channel (the tokio.rs discord). I believe this change will just require implementing `Message` for these types...