2 Likes
You can only call to_candid
on shared types, not arbitrary generic types.
1 Like
We don’t currently have a way to constrain generic types to be shareable in a nice way. Motoko Sharable Generics
1 Like
It seems like it might take a while to add this feature. I will have to figure out a workaround solution. Thanks for your help and for sharing the link.
1 Like