Closed bwsw closed 1 year ago
Well, there are other errors when trying to generate the code for all schemas as well: https://github.com/insight-platform/Savant/tree/develop/savant/api/avro-schemas
Take a look if you find time for that.
Hello,
Thank you for reporting this. I have released version 0.11.10
that should fix it.
As for your other schemas I can generate valid code for them provided that in vision.module.BBox.avsc angle's default value is set to 0.0
instead of just 0
. I used the the following command:
rsgen-avro path/to/avro-schemas/**/*.avsc path/to/generated.rs
Let me know how all this goes for you.
Yes 0.0
need to be fixed.
@lerouxrgd It works like a charm!
Hello, Thank you for your efforts. This is a very promising crate.
I just tried to use the generator for a record like that:
Unfortunately, the generator cannot generate proper code.