Thanks Lydia and Jade for your input on this ! I'll comment on the gh thread.
Jade, could you develop what you mean by the memory leak ? I'm not fully sure I understand the reason why the handle must be opaque. Using raw pointers makes me somewhat nervous but I suppose this could eventually be abstracted away once/if records can be exported.
Thanks again !