You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
Rather than adding each API call by hand, it may be easier to automatically generate the bindings from the IDL? This is how all the other bindings are done.
Yep, completely agree. I've spoken with Dave about this and it would be good to do when someone has time. The second option looked to be the simplest :)
I think it's valuable to get a bit of real world experience first, to find
out how the bindings should look. It's good to have answers to questions
like:
do server "objects" map to objects on the client
do transient errors like session expired get exposed to users, or do the
bindings re-login for you
do the clients get to manage the HTTP connections themselves or are they
transparent
Actually thinking of connections, I recommend always opening 2 connections:
one for async commands and the other for task events. I'd like to change
the OCaml bindings so that even a sync call like vm.start gets converted
into an async one. This avoids opening too many connections when under
load. In the ocaml case I'm hoping to hide the expired sessions errors too.
Yep, completely agree. I've spoken with Dave about this and it would be
good to do when someone has time. The second option looked to be the
simplest :)
—
Reply to this email directly or view it on GitHub #4 (comment)
.
Dave Scott
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Rather than adding each API call by hand, it may be easier to automatically generate the bindings from the IDL? This is how all the other bindings are done.
There are (at least) two ways of doing this:
The text was updated successfully, but these errors were encountered: