irmin
irmin copied to clipboard
GraphQL / Irmin OCaml / Javascript
Hello. What a wonderful community. Just discovered this and MirageOS couple of weeks ago researching for tools for a project. It is refreshing to see such clear formal skills and communication.
Anyway :)
Soooo.... oh right, so I am probably going to use Irmin as a store. Im working in node.js / browser. I have read the work that was done on exporting Irmin to javascript with... ocaml_to_js
.
What I am thinking is that it makes the most sense for me to run Irmin in native OCaml, and connect to it through the GraphQL server on localhost on the server (dont need direct clientside interactions). Then I assume I would be able to do things like create types and merge strategies without any issues directly in OCaml.
Is there any downside to this approach? Did the javascript conversion get finished? Is there a downside to using javascript directly in general?
Sorry if this is a big vague, but Ive only just bumped into the OCaml ecosystem, and I have about 6 weeks to deliver a more or less completed app :), so a wee nudge in early context has value to me.
Tyty