Closed Sytten closed 3 months ago
Also it looks like Option
doesn't derive Tracer
There should be an attribute to skip deriving trace for a field. If you add the attribute #[qjs(skip_trace)]
it should skip that field.
I will add an implementation for option to the library.
@DelSkayn Done, check the PR :)
Sometimes you use structs from third party libraries where adding
Trace
is impossible. My take on that is to wrap the object in my own object something like:It would be nice if there was
#[qjs(skip)]
in the struct, so I could continue to deriveTrace
. Something like: