Open hqdncw opened 1 month ago
It looks like Text/Data/List's are, though pointer types, and therefore valid capnp generic types, not supported currently by capnp_conv.
You can wrap your strings in structs as a workaround for now, but I think to fully support this will require implementing readable/writable for strings/vecs.
Description
I'm running into issues when trying to use generics with
capnp_conv
.Schema
My schema is defined as follows:
Attempted Rust implementation
Here's my attempt at converting the schema to Rust:
However, the compiler raises the following errors: