bendk
bendk
#1976 fixes the bug this in a different way. I think we can close this one now.
> This is a good example of the footgun I mentioned and why I'm not a huge fan of this. The Rust function says it takes a &self, which hides...
Thanks for writing this up! We should definitely figure this one out. One other option would be to make the blanket impl (`impl FfiConverter for MyType`) the default for UDL...
I'm currently leaning toward: `Use UniFfiTag for procmacro implementations`. The only downside of this one is that it requires users to explicitly annotate which external types they're using -- either...
I think they should certainly be the same, the only question in my mind is if we should make UDL match the proc-macro approach or the proc-macros match the UDL...
I've been hacking away at this for a week or so and I think I've figured a couple things out. First off, I think `UniFfiTag` is a good solution to...
I also added a README for the templates that goes over naming.
I've been trying to clean up my old branches and finally got around to this one. There's not that much left in this PR, but I think would still be...
> ```rust > #[automatically_derived] > unsafe impl ::uniffi::FfiConverter for Newtype { > type FfiType = ::FfiType; > fn lower(obj: Newtype) -> Self::FfiType { > crate::UniFfiTag, > >>::lower(::from_custom(obj)) > } >...
Alternatively, maybe the gecko-js bindings could re-export these functions somehow? That would be even better IMO.