Open bogdanstate opened 7 months ago
You are right and it is limited by the serde impls for tuples, I think there are some ways to solve this issue:
Serialize
for tuples with more than 16 elements.We have encountered this issue in our some internal tools and workaround this by splitting the struct into multiple smaller struct which have less than 16 fields.
Thanks for reporting this bug and I will find some time to fix this.
Amazing, thanks so much for a great library!
@bogdanstate I made a PR that make the Presto
macro support up to 32 fields for Structs and have merged into the master branch, please check out and have a try.
The following struct compiles correctly:
If we add
a17: i16
as an extra struct member we get the following error:I assume this is due to a the way the derive(Presto) macro is implemented, i.e. by using a tuple as the underlying type.